aboutsummaryrefslogtreecommitdiff
path: root/gui/themebrowser.cpp
diff options
context:
space:
mode:
authorThierry Crozat2016-10-30 16:25:42 +0000
committerThierry Crozat2016-10-30 16:25:42 +0000
commit54230af9fd54d6defa5c211b61ab51cc4a5bbacf (patch)
treec3b87c30b4d938f6d8f7bcf00d2d5b85999ff9e2 /gui/themebrowser.cpp
parent59675d2e4c7993e67eabfef69002b70d13c15473 (diff)
downloadscummvm-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/themebrowser.cpp')
-rw-r--r--gui/themebrowser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/themebrowser.cpp b/gui/themebrowser.cpp
index d8bd5d6fe8..75be555e0a 100644
--- a/gui/themebrowser.cpp
+++ b/gui/themebrowser.cpp
@@ -84,6 +84,7 @@ void ThemeBrowser::handleCommand(CommandSender *sender, uint32 cmd, uint32 data)
++sel;
_select = sel->id;
+ _selectName = sel->name;
setResult(1);
close();
break;