Merge pull request #9591 from f321x/settings_dialog
Make question dialog of trampoline checkbox child of SettingsDialog
This commit is contained in:
@@ -121,7 +121,7 @@ class SettingsDialog(QDialog, QtEventListener):
|
|||||||
_("Are you sure you want to disable trampoline?"),
|
_("Are you sure you want to disable trampoline?"),
|
||||||
_("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."),
|
||||||
])):
|
]), parent=self):
|
||||||
trampoline_cb.setCheckState(Qt.CheckState.Checked)
|
trampoline_cb.setCheckState(Qt.CheckState.Checked)
|
||||||
return
|
return
|
||||||
self.config.LIGHTNING_USE_GOSSIP = not use_trampoline
|
self.config.LIGHTNING_USE_GOSSIP = not use_trampoline
|
||||||
|
|||||||
Reference in New Issue
Block a user