1
0

qml: reset nostr relays list to default if empty

This commit is contained in:
Sander van Grieken
2025-06-03 10:57:43 +02:00
parent d87b0f8e81
commit cb78b07fe4

View File

@@ -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()