1
0

use t for tcp; wallet.blocks==-1 means connecting

This commit is contained in:
ThomasV
2012-03-30 17:29:35 +02:00
parent 578baf189d
commit 57c1e6e92b
4 changed files with 16 additions and 10 deletions

View File

@@ -187,7 +187,10 @@ class ElectrumWindow(QMainWindow):
def update_wallet(self):
if self.wallet.interface.is_connected:
if self.wallet.blocks == 0:
if self.wallet.blocks == -1:
text = "Connecting..."
icon = QIcon(":icons/status_disconnected.png")
elif self.wallet.blocks == 0:
text = "Server not ready"
icon = QIcon(":icons/status_disconnected.png")
elif not self.wallet.up_to_date: