# HG changeset patch # User laurent # Date 1254823846 -7200 # Node ID 18811cff50e6f450e5e45c6a4bef97d51ff4e11f # Parent 7bbbcddb72db32b4134483de2061a48a714397fd Bug when expanded and collapsing plugin tree fixed diff -r 7bbbcddb72db -r 18811cff50e6 Beremiz.py --- a/Beremiz.py Tue Oct 06 11:55:32 2009 +0200 +++ b/Beremiz.py Tue Oct 06 12:10:46 2009 +0200 @@ -874,6 +874,7 @@ self.ExpandLocation(locations_infos, "root") else: self.CollapseLocation(locations_infos, "root") + self.PluginInfos[plugin]["expanded"] = expandbutton.GetToggle() locations_infos["root"]["expanded"] = expandbutton.GetToggle() self.PLCConfigMainSizer.Layout() self.RefreshScrollBars()