summaryrefslogtreecommitdiff
path: root/src/gui/confirm_dialog.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-16 15:55:33 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-16 15:55:33 +0000
commit5f6a6445d0156cb9728878688e09884b6a2b0188 (patch)
tree00259b472eb01869222107c38c279dc510c86481 /src/gui/confirm_dialog.cpp
parent57b3e0e1f0b835ff2982e9f66c7af402caecd3c1 (diff)
downloadmana-client-5f6a6445d0156cb9728878688e09884b6a2b0188.tar.gz
mana-client-5f6a6445d0156cb9728878688e09884b6a2b0188.tar.bz2
mana-client-5f6a6445d0156cb9728878688e09884b6a2b0188.tar.xz
mana-client-5f6a6445d0156cb9728878688e09884b6a2b0188.zip
Made a dialog from exit confirmation.
Diffstat (limited to 'src/gui/confirm_dialog.cpp')
-rw-r--r--src/gui/confirm_dialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/confirm_dialog.cpp b/src/gui/confirm_dialog.cpp
index 967355a6..61c4b009 100644
--- a/src/gui/confirm_dialog.cpp
+++ b/src/gui/confirm_dialog.cpp
@@ -91,7 +91,6 @@ ConfirmDialog::~ConfirmDialog()
void ConfirmDialog::action(const std::string &eventId)
{
if (eventId == "yes" || eventId == "no") {
- // I prefer it to be a window, not a dialog
- //windowContainer->scheduleDelete(this);
+ windowContainer->scheduleDelete(this);
}
}