fix broken events preventing additions panels to not work

This commit is contained in:
Ryan Holmes
2017-07-03 01:46:46 -04:00
parent 1082d8a173
commit 0527a506ac
8 changed files with 17 additions and 3 deletions

View File

@@ -40,6 +40,8 @@ class NotesView(wx.Panel):
self.lastFitId = event.fitID
self.editNotes.SetValue(fit.notes or "")
event.Skip()
def onText(self, event):
# delay the save so we're not writing to sqlite on every keystroke
self.saveTimer.Stop() # cancel the existing timer