aboutsummaryrefslogtreecommitdiff
path: root/gui/options.cpp
diff options
context:
space:
mode:
authorThierry Crozat2018-07-22 12:20:59 +0100
committerThierry Crozat2018-07-22 12:22:01 +0100
commitcad1672ee79e0bac5c06dccd5942024e0bc88544 (patch)
tree3e7bb4c70472b70a9543a11db97adc75ef20a68d /gui/options.cpp
parent997694b329a9d8c013f7d4ae2c8ffcfd51e62b17 (diff)
downloadscummvm-rg350-cad1672ee79e0bac5c06dccd5942024e0bc88544.tar.gz
scummvm-rg350-cad1672ee79e0bac5c06dccd5942024e0bc88544.tar.bz2
scummvm-rg350-cad1672ee79e0bac5c06dccd5942024e0bc88544.zip
GUI: Fix crash when accessing options from GMM
Diffstat (limited to 'gui/options.cpp')
-rw-r--r--gui/options.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 7e5a3ac870..3c5abeada7 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -1418,6 +1418,8 @@ void OptionsDialog::reflowLayout() {
}
void OptionsDialog::setupGraphicsTab() {
+ if (!_fullscreenCheckbox)
+ return;
_gfxPopUpDesc->setVisible(true);
_gfxPopUp->setVisible(true);
_stretchPopUpDesc->setVisible(true);