diff options
Diffstat (limited to 'src/gui/okdialog.cpp')
-rw-r--r-- | src/gui/okdialog.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/okdialog.cpp b/src/gui/okdialog.cpp index 4e52cc8ab..ae0c4ca4a 100644 --- a/src/gui/okdialog.cpp +++ b/src/gui/okdialog.cpp @@ -86,8 +86,5 @@ void OkDialog::action(const gcn::ActionEvent &event) { setActionEventId(event.getId()); distributeActionEvent(); - - // Can we receive anything else anyway? - if (event.getId() == "ok") - scheduleDelete(); + scheduleDelete(); } |