Skip to content

Commit

Permalink
fix the weird linux login bug
Browse files Browse the repository at this point in the history
On my Xubuntu machine key "4" caused a keycode 13 event. Weird.
  • Loading branch information
Noiredd committed Feb 14, 2019
1 parent d79c5c2 commit 5a35445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filmatyk/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def _setStateGood(self, event=None):
self.infoLabel['text'] = ''
self.stateGood = True
#also, maybe the user has hit enter key, meaning to log in
if event.keycode == 13:
if event.keysym == 'Return':
self._loginClick()
def _loginClick(self):
#collect login data
Expand Down

0 comments on commit 5a35445

Please sign in to comment.