Show custom brightness command in gui

This commit is contained in:
hawkeyexp 2018-08-06 13:12:31 +02:00
parent bf69ef7e8a
commit e936f7439d

View File

@ -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");
}