Qt: disable viewport settings on custom configs

This commit is contained in:
Megamouse 2017-09-29 01:40:36 +02:00 committed by Ivan
parent 425ddd13e5
commit 81b3e7e449
2 changed files with 2 additions and 1 deletions

View File

@ -616,6 +616,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, const
ui->gb_configs->setEnabled(false); ui->gb_configs->setEnabled(false);
ui->gb_settings->setEnabled(false); ui->gb_settings->setEnabled(false);
ui->gb_colors->setEnabled(false); ui->gb_colors->setEnabled(false);
ui->gb_viewport->setEnabled(false);
} }
else else
{ {

View File

@ -1078,7 +1078,7 @@
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
<widget class="QGroupBox" name="groupBox_3"> <widget class="QGroupBox" name="gb_viewport">
<property name="title"> <property name="title">
<string>Viewport</string> <string>Viewport</string>
</property> </property>