fix for watching-only wallets
authorThomasV <thomasv@gitorious>
Wed, 13 Jun 2012 18:46:31 +0000 (20:46 +0200)
committerThomasV <thomasv@gitorious>
Wed, 13 Jun 2012 18:46:31 +0000 (20:46 +0200)
lib/gui_qt.py

index f178093..20de111 100644 (file)
@@ -1159,7 +1159,8 @@ class ElectrumWindow(QMainWindow):
         self.wallet.save()
         self.update_receive_tab()
         self.update_contacts_tab()
-        self.nochange_cb.setHidden(not self.wallet.expert_mode)
+        if self.wallet.seed:
+            self.nochange_cb.setHidden(not self.wallet.expert_mode)
         
 
     def settings_dialog(self):