editors/ConfTreeNodeEditor.py
changeset 1111 ee1a8c961f11
parent 1105 f0e5b475a074
child 1162 a2b4d366bc66
--- 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