From cad1672ee79e0bac5c06dccd5942024e0bc88544 Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Sun, 22 Jul 2018 12:20:59 +0100 Subject: GUI: Fix crash when accessing options from GMM --- gui/options.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/options.cpp') 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); -- cgit v1.2.3