diff -r cd03b8432541 -r 0dc834721d8e editors/Viewer.py --- 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):