Browse Source

fix insert button

Daniel Sheffield 2 years ago
parent
commit
3e35b179ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/activities/TransactionEditor.py

+ 1 - 1
app/activities/TransactionEditor.py

@@ -54,7 +54,7 @@ class TransactionEditor(FocusWidget):
             self.clear()
             self.focus_on(self.edit_fields['product'])
         elif key == 'insert':
-            self.save_and_clear_cb()
+            self.save_and_clear_callback()
         elif key == 'ctrl p':
             self.focus_on(self.edit_fields['product'])
         else: