do not show send tab in seedless wallets

This commit is contained in:
ThomasV 2012-05-13 11:06:37 +02:00
parent 51036fdf4e
commit c419c408bb
1 changed files with 1 additions and 1 deletions

View 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"