diff --git a/gui_qt.py b/gui_qt.py index 6206612c..9a8b28f4 100644 --- a/gui_qt.py +++ b/gui_qt.py @@ -660,7 +660,7 @@ class ElectrumWindow(QMainWindow): + ' '.join(mnemonic.mn_encode(seed)) + "\"" QMessageBox.information(parent, 'Seed', msg, 'OK') - ElectrumWindow.show_seed_qrcode(seed) + if parent: ElectrumWindow.show_seed_qrcode(seed) @staticmethod def show_seed_qrcode(seed):