Add parent widget

This commit is contained in:
Salvo 'LtWorf' Tomaselli 2020-12-30 12:27:29 +01:00
parent 2846351115
commit 57cd8236c0
No known key found for this signature in database
GPG Key ID: B3A7CF0C801886CF

View File

@ -322,7 +322,7 @@ class relForm(QtWidgets.QMainWindow):
def error(self, exception):
print (exception)
QtWidgets.QMessageBox.information(
None, _("Error"),
self, _("Error"),
str(exception)
)