[Scummvm-git-logs] scummvm master -> 56ef67f6d5f3e68a976a7ac22a37c34a1c463dee
antoniou79
a.antoniou79 at gmail.com
Tue Oct 12 12:43:48 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
56ef67f6d5 GUI: Prevent segfault for Options in GMM in-game
Commit: 56ef67f6d5f3e68a976a7ac22a37c34a1c463dee
https://github.com/scummvm/scummvm/commit/56ef67f6d5f3e68a976a7ac22a37c34a1c463dee
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2021-10-12T15:43:10+03:00
Commit Message:
GUI: Prevent segfault for Options in GMM in-game
Changed paths:
gui/options.cpp
diff --git a/gui/options.cpp b/gui/options.cpp
index d00a0b1bbf..5824eb3d14 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -1808,7 +1808,9 @@ void OptionsDialog::reflowLayout() {
}
void OptionsDialog::setupGraphicsTab() {
- setGraphicSettingsState(_enableGraphicSettings);
+ if (_graphicsTabId != -1) {
+ setGraphicSettingsState(_enableGraphicSettings);
+ }
if (!_fullscreenCheckbox)
return;
_gfxPopUpDesc->setVisible(true);
More information about the Scummvm-git-logs
mailing list