Merged
authorLaurent Bessard
Thu, 18 Apr 2013 10:21:29 +0200
changeset 1037 978b14147e21
parent 1035 0f905e027d18 (current diff)
parent 1036 a6718197caf2 (diff)
child 1038 1923a69482f8
Merged
--- a/editors/ProjectNodeEditor.py	Wed Apr 17 10:54:17 2013 +0900
+++ b/editors/ProjectNodeEditor.py	Thu Apr 18 10:21:29 2013 +0200
@@ -33,11 +33,12 @@
         
         ConfTreeNodeEditor.__init__(self, parent, controler, window, tagname)
         
-        buttons_sizer = self.GenerateMethodButtonSizer()
-        self.ParamsEditorSizer.InsertSizer(0, buttons_sizer, 0, border=5, 
-                flag=wx.LEFT|wx.RIGHT|wx.TOP)
-        self.ParamsEditorSizer.Layout()
-        
+        if self.SHOW_BASE_PARAMS:
+            buttons_sizer = self.GenerateMethodButtonSizer()
+            self.ParamsEditorSizer.InsertSizer(0, buttons_sizer, 0, border=5, 
+                    flag=wx.LEFT|wx.RIGHT|wx.TOP)
+            self.ParamsEditorSizer.Layout()
+            
         self.VariableEditor = self.VariableEditorPanel
 
     def GetTagName(self):