commit 3314c149f27f4ccd8b5935edb38af49a865c5eeb parent 42df51f2dd606f4f18ba2cf27d5bcff07594a02e 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(-)
diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py @@ -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()