Skip to content

Commit

Permalink
fix issue #20
Browse files Browse the repository at this point in the history
change CallLater to CallAfter

fix crash in wxpython caused by timer fired on GridWindow after it was destroyed
now the timer is stopped immediately after GridWindow is destroyed
  • Loading branch information
2Eagle2 authored and HelioGuilherme66 committed Jan 18, 2019
1 parent 4f4fbee commit ebd0a97
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/robotide/editor/kweditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,15 +862,9 @@ def StartingKey(self, event):
elif key == wx.WXK_BACK:
self._tc.SetValue(self._original_value)
else:
<<<<<<< HEAD
self._tc.SetValue(unichr(key))
self._tc.SetValue(unichr(key))
self._tc.SetFocus()
self._tc.SetInsertionPointEnd()
=======
self._tc.SetValue(unichr(key))
self._tc.SetFocus()
self._tc.SetInsertionPointEnd()
>>>>>>> e565f48c... fix wrong EOL

def StartingClick(self):
self._tc.SetValue(self._original_value)
Expand Down

0 comments on commit ebd0a97

Please sign in to comment.