diff --git a/electrum/gui/qml/qeconfig.py b/electrum/gui/qml/qeconfig.py index efc41032a..01fc4eea6 100644 --- a/electrum/gui/qml/qeconfig.py +++ b/electrum/gui/qml/qeconfig.py @@ -318,7 +318,7 @@ class QEConfig(AuthMixin, QObject): @nostrRelays.setter def nostrRelays(self, nostr_relays): if nostr_relays != self.config.NOSTR_RELAYS: - self.config.NOSTR_RELAYS = nostr_relays + self.config.NOSTR_RELAYS = nostr_relays if nostr_relays else None self.nostrRelaysChanged.emit() swapServerNPubChanged = pyqtSignal()