beremiz

Parents aec7aca89f3e
Children f2266a8517e4
Fixing bug on Windows with expanding hidden root item in location tree ctrl
  • +0 -1
    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")