beremiz

ee1a8c961f11
Parents b6e252733c64
Children ff3fcad17b47
Fixed bug when changing IEC_Channel of node without params
--- a/editors/ConfTreeNodeEditor.py Fri May 10 09:43:40 2013 +0200
+++ b/editors/ConfTreeNodeEditor.py Fri May 10 10:24:59 2013 +0200
@@ -511,7 +511,7 @@
def SetConfNodeParamsAttribute(self, *args, **kwargs):
res, StructChanged = self.Controler.SetParamsAttribute(*args, **kwargs)
- if StructChanged:
+ if StructChanged and self.ParamsEditor is not None:
wx.CallAfter(self.RefreshConfNodeParamsSizer)
wx.CallAfter(self.ParentWindow._Refresh, TITLE, FILEMENU)
return res