swap order of finished signal emit

This commit is contained in:
iLLiCiTiT 2021-05-03 13:33:14 +02:00
parent 37101a5f54
commit 76e7ced648

View file

@ -85,8 +85,8 @@ class PasswordDialog(QtWidgets.QDialog):
super(PasswordDialog, self).keyPressEvent(event)
def closeEvent(self, event):
self.finished.emit(self.result())
super(PasswordDialog, self).closeEvent(event)
self.finished.emit(self.result())
def _on_ok_click(self):
input_value = self.password_input.text()