# HG changeset patch # User laurent # Date 1326837023 -3600 # Node ID 5056f17a0c6b41cf7c1b2cdcfe690b5a6f316741 # Parent aec7aca89f3eb9259506ab4d4cf8a2a5c58c3e5a Fixing bug on Windows with expanding hidden root item in location tree ctrl diff -r aec7aca89f3e -r 5056f17a0c6b Beremiz.py --- a/Beremiz.py Tue Jan 17 22:49:30 2012 +0100 +++ b/Beremiz.py Tue Jan 17 22:50:23 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")