From e936f7439d6c14e78a61b684e8ae35c2692c0068 Mon Sep 17 00:00:00 2001 From: hawkeyexp Date: Mon, 6 Aug 2018 13:12:31 +0200 Subject: [PATCH] Show custom brightness command in gui --- src/autoapp/UI/SettingsWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autoapp/UI/SettingsWindow.cpp b/src/autoapp/UI/SettingsWindow.cpp index 74cfaba..cc38a9a 100644 --- a/src/autoapp/UI/SettingsWindow.cpp +++ b/src/autoapp/UI/SettingsWindow.cpp @@ -541,8 +541,8 @@ void SettingsWindow::loadSystemValues() } // set custom brightness command - if (getparams[26] == "1") { - ui_->labelCustomBrightnessCommand->setText("Enabled"); + if (getparams[26] != "0") { + ui_->labelCustomBrightnessCommand->setText(getparams[26] + " brvalue"); } else { ui_->labelCustomBrightnessCommand->setText("Disabled"); }