diff --git a/launcher/settingsView/csettingsview_moc.cpp b/launcher/settingsView/csettingsview_moc.cpp index 94ca8fc6c..c6c136fbb 100644 --- a/launcher/settingsView/csettingsview_moc.cpp +++ b/launcher/settingsView/csettingsview_moc.cpp @@ -838,9 +838,16 @@ void CSettingsView::on_sliderScalingCursor_valueChanged(int value) void CSettingsView::on_buttonScalingAuto_toggled(bool checked) { - ui->spinBoxInterfaceScaling->setDisabled(checked); - ui->spinBoxInterfaceScaling->setValue(100); - + if (checked) + { + ui->spinBoxInterfaceScaling->hide(); + } + else + { + ui->spinBoxInterfaceScaling->show(); + ui->spinBoxInterfaceScaling->setValue(100); + } + Settings node = settings.write["video"]["resolution"]["scaling"]; node->Integer() = checked ? 0 : 100; }