tqt: show channels tab by default if ln wallet - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 3314c149f27f4ccd8b5935edb38af49a865c5eeb DIR parent 42df51f2dd606f4f18ba2cf27d5bcff07594a02e HTML Author: bitromortac <bitromortac@protonmail.com> Date: Tue, 13 Oct 2020 19:08:25 +0200 qt: show channels tab by default if ln wallet Diffstat: M electrum/gui/qt/main_window.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py t@@ -170,6 +170,8 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): self.gui_thread = gui_object.gui_thread assert wallet, "no wallet" self.wallet = wallet + if wallet.has_lightning(): + self.wallet.config.set_key('show_channels_tab', True) self.setup_exception_hook()