Bug when expanded and collapsing plugin tree fixed
authorlaurent
Tue, 06 Oct 2009 12:10:46 +0200
changeset 406 18811cff50e6
parent 405 7bbbcddb72db
child 407 0bef13d73350
Bug when expanded and collapsing plugin tree fixed
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()