# HG changeset patch # User laurent # Date 1256287411 -7200 # Node ID 19720ee1051cd6cc3591a5520bea4382ac05a307 # Parent 93a2f2034f989c439f0828441654049c864fd002 Bug while trying to refresh InstancesTree fixed diff -r 93a2f2034f98 -r 19720ee1051c VariablePanel.py --- a/VariablePanel.py Mon Oct 19 15:58:20 2009 +0200 +++ b/VariablePanel.py Fri Oct 23 10:43:31 2009 +0200 @@ -604,7 +604,7 @@ self.Controler.SetPouInterfaceReturnType(words[1], self.ReturnType.GetStringSelection()) self.Controler.BufferProject() self.ParentWindow.RefreshEditor(variablepanel = False) - self.ParentWindow._Refresh(TITLE, EDITMENU, INSTANCETREE, LIBRARYTREE) + self.ParentWindow._Refresh(TITLE, EDITMENU, INSTANCESTREE, LIBRARYTREE) event.Skip() def OnClassFilter(self, event): @@ -707,7 +707,7 @@ self.Controler.UpdateEditedElementUsedVariable(self.TagName, old_value, value) self.Controler.BufferProject() self.ParentWindow.RefreshEditor(variablepanel = False) - self.ParentWindow._Refresh(TITLE, EDITMENU, INSTANCETREE, LIBRARYTREE) + self.ParentWindow._Refresh(TITLE, EDITMENU, INSTANCESTREE, LIBRARYTREE) event.Skip() else: self.SaveValues()