diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index f7545e77..b0a191a9 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -1488,7 +1488,7 @@ class ElectrumWindow(QMainWindow): @protected def show_seed_dialog(self, password): if not self.wallet.seed: - QMessageBox.information(parent, _('Message'), _('No seed'), _('OK')) + QMessageBox.information(self, _('Message'), _('No seed'), _('OK')) return try: seed = self.wallet.decode_seed(password)