mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
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.
This commit is contained in:
parent
9572bc6e30
commit
ddcfdf5329
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user