1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00

fix automatic button

This commit is contained in:
Laserlicht 2024-12-08 15:21:08 +01:00
parent 04987eef5c
commit e2f61ead5b

View File

@ -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()