Draft to hide scaling dropdown as needed
This commit is contained in:
1 parent
1826b5bbdf
commit
3690e05e40
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -41,7 +41,7 @@ endif()
|
||||
option(ENABLE_CLIENT "Enable compilation of game client" ON)
|
||||
option(ENABLE_ERM "Enable compilation of ERM scripting module" OFF)
|
||||
option(ENABLE_LUA "Enable compilation of LUA scripting module" OFF)
|
||||
option(ENABLE_TRANSLATIONS "Enable generation of translations for launcher and editor" ON)
|
||||
option(ENABLE_TRANSLATIONS "Enable generation of translations for launcher and editor" OFF)
|
||||
option(ENABLE_NULLKILLER_AI "Enable compilation of Nullkiller AI library" ON)
|
||||
option(ENABLE_MINIMAL_LIB "Build only core parts of vcmi library that are required for game lobby" OFF)
|
||||
option(ENABLE_GOLDMASTER "Build in public release mode in which some debug routines are disabled" OFF)
|
||||
|
||||
@@ -838,6 +838,11 @@ 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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user