From 3314c149f27f4ccd8b5935edb38af49a865c5eeb Mon Sep 17 00:00:00 2001 From: bitromortac Date: Tue, 13 Oct 2020 19:08:25 +0200 Subject: [PATCH] qt: show channels tab by default if ln wallet --- electrum/gui/qt/main_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py index 968905717..8c8ada1f5 100644 --- 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()