Making sure we do not damage original changes dictionary in Soapy.

This commit is contained in:
Marat Fayzullin 2023-06-14 19:16:56 -04:00
parent 45364e0cca
commit abef996abe
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ class SoapyConnectorSource(ConnectorSource, metaclass=ABCMeta):
return values
def onPropertyChange(self, changes):
# Make sure we do not damage the original dictonary
changes = changes.copy()
mappings = self.getSoapySettingsMappings()
settings = {}
# Delete properties that are converted into settings