improving name filter

This commit is contained in:
Vinicius Moreira
2019-09-02 16:19:47 -03:00
parent b15420625e
commit 68cc5370e8
6 changed files with 230 additions and 132 deletions

View File

@@ -136,7 +136,7 @@ class InputFilter(QLineEdit):
def keyPressEvent(self, event):
super(InputFilter, self).keyPressEvent(event)
if event.key() != Qt.EnterKeyReturn:
self.on_key_press(self.text())
self.on_key_press()
def new_single_select(model: SingleSelectComponent):