beremiz

Parents 780bd150ebba
Children 375be7e2f960
Bug when changing parameters in TargetType section in Beremiz project configuration fixed
  • +1 -1
    plugger.py
  • --- 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