From c419c408bb23d31406a2f77d25f9db2d0a0db6c9 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 13 May 2012 11:06:37 +0200 Subject: [PATCH] do not show send tab in seedless wallets --- lib/gui_qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gui_qt.py b/lib/gui_qt.py index d6bc24e3d..a5a28245a 100644 --- a/lib/gui_qt.py +++ b/lib/gui_qt.py @@ -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"