From e2f61ead5b198a0e592e68cf91fc0b990066c1bb Mon Sep 17 00:00:00 2001 From: Laserlicht <13953785+Laserlicht@users.noreply.github.com> Date: Sun, 8 Dec 2024 15:21:08 +0100 Subject: [PATCH] fix automatic button --- launcher/settingsView/csettingsview_moc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/settingsView/csettingsview_moc.cpp b/launcher/settingsView/csettingsview_moc.cpp index c6c136fbb..b0300f1b7 100644 --- a/launcher/settingsView/csettingsview_moc.cpp +++ b/launcher/settingsView/csettingsview_moc.cpp @@ -614,7 +614,7 @@ void CSettingsView::on_lineEditRepositoryExtra_textEdited(const QString &arg1) void CSettingsView::on_spinBoxInterfaceScaling_valueChanged(int arg1) { Settings node = settings.write["video"]["resolution"]["scaling"]; - node->Float() = arg1; + node->Float() = ui->buttonScalingAuto->isChecked() ? 0 : arg1; } void CSettingsView::on_refreshRepositoriesButton_clicked()