diff options
author | Thierry Crozat | 2016-10-30 16:25:42 +0000 |
---|---|---|
committer | Thierry Crozat | 2016-10-30 16:25:42 +0000 |
commit | 54230af9fd54d6defa5c211b61ab51cc4a5bbacf (patch) | |
tree | c3b87c30b4d938f6d8f7bcf00d2d5b85999ff9e2 /gui/options.h | |
parent | 59675d2e4c7993e67eabfef69002b70d13c15473 (diff) | |
download | scummvm-rg350-54230af9fd54d6defa5c211b61ab51cc4a5bbacf.tar.gz scummvm-rg350-54230af9fd54d6defa5c211b61ab51cc4a5bbacf.tar.bz2 scummvm-rg350-54230af9fd54d6defa5c211b61ab51cc4a5bbacf.zip |
GUI: Only change theme when applying new options
Unlike other options in the OptionsDialog, the theme change was
done when selecting a new theme and not when clicking on OK or
Apply. This commit makes it consistent with other options
Diffstat (limited to 'gui/options.h')
-rw-r--r-- | gui/options.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gui/options.h b/gui/options.h index a2ec702065..9b304204db 100644 --- a/gui/options.h +++ b/gui/options.h @@ -195,11 +195,6 @@ protected: Common::String _guioptionsString; // - //Theme Options - // - Common::String _oldTheme; - - // // Engine-specific controls // CheckboxWidgetList _engineCheckboxes; @@ -220,6 +215,7 @@ public: virtual void reflowLayout(); protected: + Common::String _newTheme; LauncherDialog *_launcher; #ifdef GUI_ENABLE_KEYSDIALOG KeysDialog *_keysDialog; |