plugger.py
changeset 607 c68b662e0c2a
parent 604 5b1c92060fc2
child 619 8584ddae9385
--- a/plugger.py	Tue May 24 00:36:08 2011 +0200
+++ b/plugger.py	Tue May 24 11:27:00 2011 +0200
@@ -852,7 +852,7 @@
         
     def SetParamsAttribute(self, path, value):
         if path.startswith("BeremizRoot.TargetType.") and self.BeremizRoot.getTargetType().getcontent() is None:
-            self.BeremizRoot.setTargetType(self.GetDefaultTarget())
+            self.BeremizRoot.setTargetType(self.GetTarget())
         return PlugTemplate.SetParamsAttribute(self, path, value)
         
     # helper func to check project path write permission