aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/options.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 5752702f5c..1dd358d7e4 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -511,8 +511,10 @@ void OptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data
close();
break;
case kCloseCmd:
+ if (g_gui.theme()->getThemeId() != _oldTheme ) {
g_gui.loadNewTheme(_oldTheme);
ConfMan.set("gui_theme", _oldTheme);
+ }
close();
break;
default: