1
0

Allow user to enable lightning in the GUI. Make it a per-wallet setting.

This commit is contained in:
ThomasV
2019-10-13 20:34:38 +02:00
parent a201ed44df
commit 90ce9f195b
12 changed files with 90 additions and 76 deletions

View File

@@ -155,9 +155,8 @@ class ElectrumGui(Logger):
else:
m = self.tray.contextMenu()
m.clear()
if self.config.get('lightning'):
m.addAction(_("Lightning"), self.show_lightning_dialog)
m.addAction(_("Watchtower"), self.show_watchtower_dialog)
m.addAction(_("Lightning"), self.show_lightning_dialog)
m.addAction(_("Watchtower"), self.show_watchtower_dialog)
for window in self.windows:
name = window.wallet.basename()
submenu = m.addMenu(name)