Fix lint
This commit is contained in:
parent
fac8d72d8c
commit
af6e5b1838
@ -50,6 +50,10 @@ class KeyTestWidget(QWidget):
|
||||
|
||||
got_text = pyqtSignal()
|
||||
|
||||
def __init__(self, parent=None):
|
||||
super().__init__(parent)
|
||||
self.text = None
|
||||
|
||||
def keyPressEvent(self, e):
|
||||
self.text = e.text()
|
||||
self.got_text.emit()
|
||||
|
Loading…
Reference in New Issue
Block a user