GRAPHICS: MACGUI: Pass keyboard event to active widget in editable window
This commit is contained in:
parent
cc58bbb05a
commit
5ff383d042
2 changed files with 12 additions and 0 deletions
|
@ -545,6 +545,16 @@ bool MacWindow::processEvent(Common::Event &event) {
|
|||
|
||||
setHighlight(kBorderNone);
|
||||
break;
|
||||
|
||||
case Common::EVENT_KEYDOWN:
|
||||
if (!_editable)
|
||||
return false;
|
||||
|
||||
if (_wm->getActiveWidget())
|
||||
return _wm->getActiveWidget()->processEvent(event);
|
||||
|
||||
return false;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue