diff options
author | Johannes Schickel | 2013-07-15 13:40:59 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-07-15 13:40:59 +0200 |
commit | ddcfdf532927a3b31f0dd7033be5805fa38db15f (patch) | |
tree | 5796db9554d56a6ccfc0658b9fa2b20b6e86ed7c /gui | |
parent | 9572bc6e306dc82e0d2f00d7398896d317630ef0 (diff) | |
download | scummvm-rg350-ddcfdf532927a3b31f0dd7033be5805fa38db15f.tar.gz scummvm-rg350-ddcfdf532927a3b31f0dd7033be5805fa38db15f.tar.bz2 scummvm-rg350-ddcfdf532927a3b31f0dd7033be5805fa38db15f.zip |
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.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/recorderdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/recorderdialog.cpp b/gui/recorderdialog.cpp index a4c7428116..1a11dbac65 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); } |