Merging with modifications from Edouard
authorlaurent
Tue, 17 Jan 2012 22:52:27 +0100
changeset 667 f2266a8517e4
parent 666 5056f17a0c6b (diff)
parent 664 84e07afaabf3 (current diff)
child 668 048f5a923c86
Merging with modifications from Edouard
--- a/Beremiz.py	Thu Jan 12 17:45:58 2012 +0100
+++ b/Beremiz.py	Tue Jan 17 22:52:27 2012 +0100
@@ -1099,7 +1099,6 @@
             for location in plugin_locations:
                 locations_infos["root"]["children"].append("root.%s" % location["name"])
                 self.GenerateLocationTreeBranch(treectrl, treectrl.GetRootItem(), locations_infos, "root", location)
-                treectrl.Expand(treectrl.GetRootItem())
             if locations_infos["root"]["expanded"]:
                 self.PluginTreeSizer.Layout()
                 self.ExpandLocation(locations_infos, "root")
--- a/plugins/c_ext/CFileEditor.py	Thu Jan 12 17:45:58 2012 +0100
+++ b/plugins/c_ext/CFileEditor.py	Tue Jan 17 22:52:27 2012 +0100
@@ -474,7 +474,7 @@
             for col in range(self.GetNumberCols()):
                 editor = None
                 renderer = None
-                colname = self.GetColLabelValue(col)
+                colname = self.GetColLabelValue(col, False)
                 
                 if colname == "Name":
                     editor = wx.grid.GridCellTextEditor()