merge
authorEdouard Tisserant
Fri, 15 Jun 2012 18:28:57 +0200
changeset 8 73dcd03f53bb
parent 7 299a4e345380 (current diff)
parent 6 8863b78144ee (diff)
child 10 6450214a7c80
child 12 8917feb27b92
merge
LPCManager.py
--- a/LPCManager.py	Fri Jun 15 18:28:47 2012 +0200
+++ b/LPCManager.py	Fri Jun 15 18:28:57 2012 +0200
@@ -1878,15 +1878,13 @@
             self.CTR._Build()
         
         def SetProjectProperties(self, projectname, productname, productversion, companyname):
-            properties = self.CTR.GetProjectProperties()
-            new_properties = properties.copy()
-            new_properties["projectName"] = projectname
-            new_properties["productName"] = productname
-            new_properties["productVersion"] = productversion
-            new_properties["companyName"] = companyname
-            if new_properties != properties:
-                self.CTR.SetProjectProperties(properties=new_properties, buffer=False)
-                self.RestartTimer()
+            new_properties = {
+                "projectName": projectname,
+                "productName": productname,
+                "productVersion": productversion,
+                "companyName": companyname}
+            self.CTR.SetProjectProperties(properties=new_properties, buffer=False)
+            self.RestartTimer()
         
         def SetOnlineMode(self, mode, path=None):
             self.CTR.SetOnlineMode(mode, path)