Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added begin_editing() to focus on the text field
  • Loading branch information
cclauss committed Aug 12, 2014
1 parent 80b70e2 commit 5addec4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AreYouEnabledView.py
Expand Up @@ -8,6 +8,7 @@ def __init__(self):
print('-' * 20) # sheets are useful for seeing the console below them

def did_load(self):
self['user text'].begin_editing() # place the focus on the field
self.textfield_sensitive_buttons = 'alert hud_alert popover print say'.split()
self.enable_buttons(False)
self.set_actions()
Expand Down

0 comments on commit 5addec4

Please sign in to comment.