From 17407651250370f1510a00a8c7b9471c4b3b2fd1 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Mon, 13 Mar 2023 18:51:34 +0000 Subject: [PATCH] qt settings_dialog: fix trampoline_cb --- electrum/gui/qt/settings_dialog.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/electrum/gui/qt/settings_dialog.py b/electrum/gui/qt/settings_dialog.py index 7dcbf20e0..6aeaf4a59 100644 --- a/electrum/gui/qt/settings_dialog.py +++ b/electrum/gui/qt/settings_dialog.py @@ -117,8 +117,7 @@ class SettingsDialog(QDialog, QtEventListener): _("Without this option, Electrum will need to sync with the Lightning network on every start."), _("This may impact the reliability of your payments."), ])): - # FIXME: Qt bug? stateChanged not triggered on second click - trampoline_cb.setChecked(True) + trampoline_cb.setCheckState(Qt.Checked) return self.config.set_key('use_gossip', not use_trampoline) if not use_trampoline: