beremiz

Parents cd03b8432541
Children 9298ba0cd70a
add function block to variable panel if fb is added using toolbar

Closes #25
--- 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):