From 2480c4eae7c0a34abe848bd162df43bb487006b8 Mon Sep 17 00:00:00 2001 From: Mike Date: Fri, 25 Oct 2024 09:58:57 -0700 Subject: [PATCH] Minor update --- launcher/settingsView/csettingsview_moc.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/launcher/settingsView/csettingsview_moc.cpp b/launcher/settingsView/csettingsview_moc.cpp index 214879cec..c7cc2e1e1 100644 --- a/launcher/settingsView/csettingsview_moc.cpp +++ b/launcher/settingsView/csettingsview_moc.cpp @@ -839,13 +839,16 @@ void CSettingsView::on_sliderScalingCursor_valueChanged(int value) void CSettingsView::on_buttonScalingAuto_toggled(bool checked) { if (checked) + { ui->spinBoxInterfaceScaling->hide(); + } else + { ui->spinBoxInterfaceScaling->show(); - - ui->spinBoxInterfaceScaling->setDisabled(checked); - ui->spinBoxInterfaceScaling->setValue(100); - + ui->spinBoxInterfaceScaling->setDisabled(false); + ui->spinBoxInterfaceScaling->setValue(100); + } + Settings node = settings.write["video"]["resolution"]["scaling"]; node->Integer() = checked ? 0 : 100; }