--- a/LPCManager.py Thu Jun 14 15:16:42 2012 +0200
+++ b/LPCManager.py Fri Jun 15 18:04:17 2012 +0200
@@ -1880,15 +1880,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)