diff options
Diffstat (limited to 'gui/settings.cpp')
-rw-r--r-- | gui/settings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/settings.cpp b/gui/settings.cpp index 230c4410..3851f0c2 100644 --- a/gui/settings.cpp +++ b/gui/settings.cpp @@ -234,6 +234,8 @@ void options_dialog::doOK() void options_dialog::doCancel() { + ui.game_detector->revert(); + if (isHidden()) // close() can return true twice in a row it seems return; hide(); @@ -241,7 +243,6 @@ void options_dialog::doCancel() return; main.b->reload(); - ui.game_detector->revert(); emit closing(); } |