diff --git a/userspace/py/lib/input_box.py b/userspace/py/lib/input_box.py index fff161aad..88deae114 100755 --- a/userspace/py/lib/input_box.py +++ b/userspace/py/lib/input_box.py @@ -291,7 +291,7 @@ def keyboard_event(self, msg): self.text_changed(self) self.draw() elif msg.event.key == b'\n': - self.ok_click() + self.ok_click(None) elif msg.event.key != b'\x00': text = self.tr.text before = text[:self.cursor_index]