summaryrefslogtreecommitdiff
path: root/src/gui/confirmdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/confirmdialog.cpp')
-rw-r--r--src/gui/confirmdialog.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/confirmdialog.cpp b/src/gui/confirmdialog.cpp
index 838b1eaf6..e78be195c 100644
--- a/src/gui/confirmdialog.cpp
+++ b/src/gui/confirmdialog.cpp
@@ -106,11 +106,5 @@ void ConfirmDialog::action(const gcn::ActionEvent &event)
{
setActionEventId(event.getId());
distributeActionEvent();
-
- // Can we receive anything else anyway?
- if (event.getId() == "yes" || event.getId() == "no"
- || event.getId() == "ignore")
- {
- scheduleDelete();
- }
+ scheduleDelete();
}