From abef996abe01d131dc9a09446e989b89b4314858 Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Wed, 14 Jun 2023 19:16:56 -0400 Subject: [PATCH] Making sure we do not damage original changes dictionary in Soapy. --- owrx/source/soapy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/owrx/source/soapy.py b/owrx/source/soapy.py index 467a77ac..d18b6bc5 100644 --- a/owrx/source/soapy.py +++ b/owrx/source/soapy.py @@ -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