do not show send tab in seedless wallets
authorThomasV <thomasv@gitorious>
Sun, 13 May 2012 09:06:37 +0000 (11:06 +0200)
committerThomasV <thomasv@gitorious>
Sun, 13 May 2012 09:06:37 +0000 (11:06 +0200)
lib/gui_qt.py

index d6bc24e..a5a2824 100644 (file)
@@ -168,7 +168,6 @@ class ElectrumWindow(QMainWindow):
         self.create_status_bar()
         self.setGeometry(100,100,840,400)
         title = 'Electrum ' + self.wallet.electrum_version + '  -  ' + self.wallet.path
-        if not self.wallet.seed: title += ' [seedless]'
         self.setWindowTitle( title )
         self.show()
 
@@ -220,6 +219,7 @@ class ElectrumWindow(QMainWindow):
                 c, u = self.wallet.get_balance()
                 text =  "Balance: %s "%( format_satoshis(c,False,self.wallet.num_zeros) )
                 if u: text +=  "[%s unconfirmed]"%( format_satoshis(u,True,self.wallet.num_zeros).strip() )
+                if not self.wallet.seed: text += ' [seedless]'
                 icon = QIcon(":icons/status_connected.png")
         else:
             text = "Not connected"