detect if electrum is offline during wallet creation
[electrum-nvc.git] / gui / qt / main_window.py
index 45684fe..3d2849b 100644 (file)
@@ -533,7 +533,7 @@ class ElectrumWindow(QMainWindow):
 
 
     def update_status(self):
-        if self.network is None:
+        if self.network is None or not self.network.is_running():
             text = _("Offline")
             icon = QIcon(":icons/status_disconnected.png")