fix device deletion
This commit is contained in:
parent
cfeab98620
commit
3b9763eee5
@ -20,6 +20,7 @@ class MappedSdrSources(PropertyDelegator):
|
|||||||
def handleSdrDeviceChange(self, changes):
|
def handleSdrDeviceChange(self, changes):
|
||||||
for key, value in changes.items():
|
for key, value in changes.items():
|
||||||
if value is PropertyDeleted:
|
if value is PropertyDeleted:
|
||||||
|
if key in self:
|
||||||
del self[key]
|
del self[key]
|
||||||
else:
|
else:
|
||||||
self._addSource(key, value)
|
self._addSource(key, value)
|
||||||
|
Loading…
Reference in New Issue
Block a user