diff options
author | Pootle daemon <pootle@pootle.sugarlabs.org> | 2013-11-06 05:31:20 (GMT) |
---|---|---|
committer | Pootle daemon <pootle@pootle.sugarlabs.org> | 2013-11-06 05:31:20 (GMT) |
commit | 170715b800f972c2d12cd63a23245c7b09194764 (patch) | |
tree | e9515d66d03c1b19a9e145006eb91e5a69a1d534 /TurtleArt/tawindow.py | |
parent | 33697496490251b3fea04614c98a088ba0e04c6a (diff) | |
parent | ab11c18934d9f8f33e597cf7db0353859b63bef9 (diff) |
Merge branch 'master' of git.sugarlabs.org:turtleart/mainline
Diffstat (limited to 'TurtleArt/tawindow.py')
-rw-r--r-- | TurtleArt/tawindow.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index 6d9ca0a..d665b9f 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -3634,6 +3634,7 @@ before making changes to your program')) def get_keyboard_input(self): """ Query keyboard and update cached keyboard input """ + self.window.grab_focus() if len(self.keypress) == 1: self.keyboard = ord(self.keypress[0]) elif self.keypress in KEY_DICT: |