Bug on refreshing editor when return type changed fixed
authorlbessard
Sun, 07 Sep 2008 19:24:11 +0200
changeset 258 bded3a67ea4b
parent 257 d0a0ffbbd61c
child 259 fae941a87cff
Bug on refreshing editor when return type changed fixed
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Sun Sep 07 19:23:32 2008 +0200
+++ b/PLCOpenEditor.py	Sun Sep 07 19:24:11 2008 +0200
@@ -4002,8 +4002,10 @@
         words = self.TagName.split("::")
         self.Controler.SetPouInterfaceReturnType(words[1], self.ReturnType.GetStringSelection())
         self.Controler.BufferProject()
+        self.ParentWindow.RefreshEditor(variablepanel = False)
         self.ParentWindow.RefreshTitle()
         self.ParentWindow.RefreshEditMenu()
+        self.ParentWindow.RefreshInstancesTree()
         event.Skip()
     
     def OnClassFilter(self, event):