summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-05-07 18:39:04 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-05-07 18:39:04 +0000
commit4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39 (patch)
treecc4bba9cc47b66a9caf059b23b86daceb7f7d602 /src/gui
parent518987f93a9723cdde25a2c23800e7476b396cee (diff)
downloadmana-client-4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39.tar.gz
mana-client-4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39.tar.bz2
mana-client-4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39.tar.xz
mana-client-4d4c38ecca3a5c250ce49e769b6a2f6f42cfca39.zip
Now you get a confirmation dialog before exitting.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/confirm_dialog.cpp3
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);
}
}