1
0

slightly more robust connection procedure

This commit is contained in:
thomasv
2012-05-16 17:29:05 +02:00
parent 94cc6aa93a
commit c5d42f3614
4 changed files with 30 additions and 25 deletions

View File

@@ -206,7 +206,7 @@ class ElectrumWindow(QMainWindow):
self.emit(QtCore.SIGNAL('updatesignal'))
def update_wallet(self):
if self.wallet.interface.is_connected:
if self.wallet.interface and self.wallet.interface.is_connected:
if self.wallet.blocks == -1:
text = "Connecting..."
icon = QIcon(":icons/status_disconnected.png")