summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-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);
}
}