do not show seed qr code during wallet creation
authorThomasV <thomasv@gitorious>
Tue, 1 May 2012 15:15:27 +0000 (17:15 +0200)
committerThomasV <thomasv@gitorious>
Tue, 1 May 2012 15:15:27 +0000 (17:15 +0200)
gui_qt.py

index 6206612..9a8b28f 100644 (file)
--- 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):