From ddcfdf532927a3b31f0dd7033be5805fa38db15f Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 15 Jul 2013 13:40:59 +0200 Subject: [PATCH] GUI: Allow the event recorder dialog to be closed. This is a regression from 6e4217e1ba1df9fd2ee4cd0d61151ed7dfc53021. setResult does not automatically close the dialog. However, Dialog::handleCommand will close the dialog when kCloseCmd is received. --- gui/recorderdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/recorderdialog.cpp b/gui/recorderdialog.cpp index a4c74281163..1a11dbac65e 100644 --- a/gui/recorderdialog.cpp +++ b/gui/recorderdialog.cpp @@ -191,7 +191,7 @@ void RecorderDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat break; case kCloseCmd: setResult(kRecordDialogClose); - break; + // Fall through default: Dialog::handleCommand(sender, cmd, data); }