aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-10-09 11:05:01 +0200
committerEugene Sandulenko2016-10-09 11:05:01 +0200
commitecd40513a3c427631e72ea59cb74a7ed0ad6edb5 (patch)
treedf23733d364b1d8865e1db5820d9fc796b9dc097
parent379e3b80daea93a375a752dd582aa42830054e18 (diff)
downloadscummvm-rg350-ecd40513a3c427631e72ea59cb74a7ed0ad6edb5.tar.gz
scummvm-rg350-ecd40513a3c427631e72ea59cb74a7ed0ad6edb5.tar.bz2
scummvm-rg350-ecd40513a3c427631e72ea59cb74a7ed0ad6edb5.zip
GUI: Do not disable Aspect ratio checkbox with only-fullscreen option
-rw-r--r--gui/options.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 35c9864718..6de808ce9c 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -238,11 +238,10 @@ void OptionsDialog::open() {
#ifdef GUI_ONLY_FULLSCREEN
_fullscreenCheckbox->setState(true);
_fullscreenCheckbox->setEnabled(false);
- _aspectCheckbox->setState(ConfMan.getBool("aspect_ratio", _domain));
- _aspectCheckbox->setEnabled(false);
#else // !GUI_ONLY_FULLSCREEN
// Fullscreen setting
_fullscreenCheckbox->setState(ConfMan.getBool("fullscreen", _domain));
+#endif // GUI_ONLY_FULLSCREEN
// Aspect ratio setting
if (_guioptions.contains(GUIO_NOASPECT)) {
@@ -252,7 +251,6 @@ void OptionsDialog::open() {
_aspectCheckbox->setEnabled(true);
_aspectCheckbox->setState(ConfMan.getBool("aspect_ratio", _domain));
}
-#endif // GUI_ONLY_FULLSCREEN
}