diff options
author | Eugene Sandulenko | 2017-07-31 20:41:24 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-01 10:42:22 +0200 |
commit | 2c0b73aaeff80d715b1dbb979ff720005d8b9ed2 (patch) | |
tree | 5a68d9cd8076d586c01b81d9c2304f703eba62f8 | |
parent | 8643a0835074a05e4ff5db8378a51201953a314f (diff) | |
download | scummvm-rg350-2c0b73aaeff80d715b1dbb979ff720005d8b9ed2.tar.gz scummvm-rg350-2c0b73aaeff80d715b1dbb979ff720005d8b9ed2.tar.bz2 scummvm-rg350-2c0b73aaeff80d715b1dbb979ff720005d8b9ed2.zip |
GRAPHICS: MACGUI: Set MacTextWindow as active when keys are pressed
-rw-r--r-- | graphics/macgui/mactextwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index 5d503cbb13..d57fdf8415 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -138,6 +138,8 @@ bool MacTextWindow::processEvent(Common::Event &event) { WindowClick click = isInBorder(event.mouse.x, event.mouse.y); if (event.type == Common::EVENT_KEYDOWN) { + _wm->setActive(getId()); + switch (event.kbd.keycode) { case Common::KEYCODE_BACKSPACE: if (!_inputText.empty()) { |