aboutsummaryrefslogtreecommitdiff
path: root/gui/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/options.cpp')
-rw-r--r--gui/options.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 1dd358d7e4..a12630a0e7 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -511,10 +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);
- }
+ if (g_gui.theme()->getThemeId() != _oldTheme) {
+ g_gui.loadNewTheme(_oldTheme);
+ ConfMan.set("gui_theme", _oldTheme);
+ }
close();
break;
default: