From 98ca65b4fe876aa6f49c09b1bb20ed1d861e4436 Mon Sep 17 00:00:00 2001 From: Salvo 'LtWorf' Tomaselli Date: Wed, 30 Dec 2020 12:02:58 +0100 Subject: [PATCH] Fix wrong parameter leads to a crash --- relational_gui/guihandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relational_gui/guihandler.py b/relational_gui/guihandler.py index d3c4a9c..b591abe 100644 --- a/relational_gui/guihandler.py +++ b/relational_gui/guihandler.py @@ -124,7 +124,7 @@ class relForm(QtWidgets.QMainWindow): else: r = _('You are using an unstable version.') - QtWidgets.QMessageBox.information(_('Version'), r) + QtWidgets.QMessageBox.information(self, _('Version'), r) def setHistoryShown(self, history_shown): self.history_shown = history_shown