Browse Source

Qt: fix running GUI offline

patch-4
ThomasV 4 years ago
parent
commit
bc1ec6ac34
  1. 2
      electrum/gui/qt/main_window.py

2
electrum/gui/qt/main_window.py

@ -2260,7 +2260,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
def update_lightning_icon(self):
if self.lightning_button is None:
return
if self.network.lngossip is None:
if self.network is None or self.network.channel_db is None:
self.lightning_button.setVisible(False)
return

Loading…
Cancel
Save