qt: show channels tab by default if ln wallet

This commit is contained in:
bitromortac 2020-10-13 19:08:25 +02:00 committed by ThomasV
parent 42df51f2dd
commit 3314c149f2

View file

@ -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()