diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-05-07 18:39:04 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-05-07 18:39:04 +0000 |
commit | 4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39 (patch) | |
tree | cc4bba9cc47b66a9caf059b23b86daceb7f7d602 /src/gui | |
parent | 518987f93a9723cdde25a2c23800e7476b396cee (diff) | |
download | mana-4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39.tar.gz mana-4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39.tar.bz2 mana-4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39.tar.xz mana-4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39.zip |
Now you get a confirmation dialog before exitting.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/confirm_dialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/confirm_dialog.cpp b/src/gui/confirm_dialog.cpp index 84712f26..f9513002 100644 --- a/src/gui/confirm_dialog.cpp +++ b/src/gui/confirm_dialog.cpp @@ -88,6 +88,7 @@ ConfirmDialog::~ConfirmDialog() void ConfirmDialog::action(const std::string &eventId) { if (eventId == "yes" || eventId == "no") { - windowContainer->scheduleDelete(this); + // I prefer it to be a window, not a dialog + //windowContainer->scheduleDelete(this); } } |