qt: show channels tab by default if ln wallet
This commit is contained in:
@@ -170,6 +170,8 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
|
|||||||
self.gui_thread = gui_object.gui_thread
|
self.gui_thread = gui_object.gui_thread
|
||||||
assert wallet, "no wallet"
|
assert wallet, "no wallet"
|
||||||
self.wallet = wallet
|
self.wallet = wallet
|
||||||
|
if wallet.has_lightning():
|
||||||
|
self.wallet.config.set_key('show_channels_tab', True)
|
||||||
|
|
||||||
self.setup_exception_hook()
|
self.setup_exception_hook()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user