diff options
author | Ignacio RodrÃguez <ignaciorodriguez@sugarlabs.org> | 2013-12-01 11:28:15 (GMT) |
---|---|---|
committer | Ignacio RodrÃguez <ignaciorodriguez@sugarlabs.org> | 2013-12-01 11:28:15 (GMT) |
commit | c8a75a5c6705b15990c8021d1adfc4a8d25e5063 (patch) | |
tree | c0c2ef50b5ec08515e592204baea2146a811bf73 /cardtable.py | |
parent | 44b8f4c45eae745cd9594285c1767bdb83b41f5a (diff) |
Diffstat (limited to 'cardtable.py')
-rw-r--r-- | cardtable.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cardtable.py b/cardtable.py index e6c839d..9f5bf34 100644 --- a/cardtable.py +++ b/cardtable.py @@ -190,6 +190,7 @@ class CardTable(gtk.EventBox): self.selected_card = (coord[0], coord[1]) def key_press_event(self, widget, event): + self.grab_focus() self.table.grab_focus() x = self.selected_card[0] y = self.selected_card[1] |