Merge pull request #55 from ltworf/info

Add parent widget
This commit is contained in:
Salvo 'LtWorf' Tomaselli 2020-12-30 16:59:01 +01:00 committed by GitHub
commit 3c80c8b5f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
)