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