1
0

TxEditor: register correct callback

on_event_channels_updated doesn't get fired if channels change their
state to OPEN. TxEditor needs to use on_event_channel to notice channels
coming online.
This commit is contained in:
f321x
2026-01-05 16:32:22 +01:00
parent e033a5e67b
commit 31ac44dddd

View File

@@ -874,7 +874,7 @@ class TxEditor(WindowModalDialog, QtEventListener, Logger):
self.update_submarine_tab()
@qt_event_listener
def on_event_channels_updated(self, wallet):
def on_event_channel(self, wallet, _channel):
# useful e.g. if the user quickly opens the tab after startup before the channels are initialized
if wallet == self.wallet and self.swap_manager and self.swap_manager.is_initialized.is_set():
self.update_submarine_tab()