diff options
author | rsn8887 | 2018-01-13 14:45:23 -0600 |
---|---|---|
committer | rsn8887 | 2018-01-13 15:21:51 -0600 |
commit | e6add01d72afbfde21489cb79d2e2b1b1423a5ea (patch) | |
tree | 88f1166ec564420c408a04133c163e9505dd3a08 | |
parent | 17d68b8bf9903ada535d4d5701815f57dde8b9a9 (diff) | |
download | scummvm-rg350-e6add01d72afbfde21489cb79d2e2b1b1423a5ea.tar.gz scummvm-rg350-e6add01d72afbfde21489cb79d2e2b1b1423a5ea.tar.bz2 scummvm-rg350-e6add01d72afbfde21489cb79d2e2b1b1423a5ea.zip |
GUI: never enable checkbox if GUI_ONLY_FULLSCREEN is set
-rw-r--r-- | gui/options.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/options.cpp b/gui/options.cpp index 0ffcee4f87..d1e2be1852 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -807,12 +807,14 @@ void OptionsDialog::setGraphicSettingsState(bool enabled) { _renderModePopUp->setEnabled(enabled); _filteringCheckbox->setEnabled(enabled); #ifndef GUI_ENABLE_KEYSDIALOG +#ifndef GUI_ONLY_FULLSCREEN _fullscreenCheckbox->setEnabled(enabled); +#endif // !GUI_ONLY_FULLSCREEN if (_guioptions.contains(GUIO_NOASPECT)) _aspectCheckbox->setEnabled(false); else _aspectCheckbox->setEnabled(enabled); -#endif +#endif // !GUI_ENABLE_KEYSDIALOG } void OptionsDialog::setAudioSettingsState(bool enabled) { |