editors/Viewer.py
changeset 1671 0dc834721d8e
parent 1660 ccf2bcf66c70
child 1674 85e22d514c05
--- a/editors/Viewer.py	Tue Mar 28 19:48:51 2017 +0300
+++ b/editors/Viewer.py	Tue Apr 04 11:34:31 2017 +0300
@@ -2546,6 +2546,8 @@
                         connector = input_connector
                         break
             self.AddNewElement(block, bbox, wire, connector)
+            self.RefreshVariablePanel()
+            self.ParentWindow.RefreshPouInstanceVariablesPanel()                    
         dialog.Destroy()
 
     def AddNewVariable(self, bbox, exclude_input=False, wire=None):