qt settings_dialog: fix trampoline_cb
This commit is contained in:
@@ -117,8 +117,7 @@ class SettingsDialog(QDialog, QtEventListener):
|
|||||||
_("Without this option, Electrum will need to sync with the Lightning network on every start."),
|
_("Without this option, Electrum will need to sync with the Lightning network on every start."),
|
||||||
_("This may impact the reliability of your payments."),
|
_("This may impact the reliability of your payments."),
|
||||||
])):
|
])):
|
||||||
# FIXME: Qt bug? stateChanged not triggered on second click
|
trampoline_cb.setCheckState(Qt.Checked)
|
||||||
trampoline_cb.setChecked(True)
|
|
||||||
return
|
return
|
||||||
self.config.set_key('use_gossip', not use_trampoline)
|
self.config.set_key('use_gossip', not use_trampoline)
|
||||||
if not use_trampoline:
|
if not use_trampoline:
|
||||||
|
|||||||
Reference in New Issue
Block a user