editors/SFCViewer.py
changeset 1865 0bd5b3099144
parent 1853 47a3f39bead0
child 1872 866fb3ab8778
--- a/editors/SFCViewer.py	Wed Oct 11 10:34:45 2017 +0300
+++ b/editors/SFCViewer.py	Wed Oct 11 11:35:19 2017 +0300
@@ -537,7 +537,7 @@
 
     def AddDivergence(self):
         if self.SelectedElement in self.Wires or isinstance(self.SelectedElement, Graphic_Group) or isinstance(self.SelectedElement, SFC_Step):
-            dialog = SFCDivergenceDialog(self.ParentWindow)
+            dialog = SFCDivergenceDialog(self.ParentWindow, self.Controler, self.TagName)
             dialog.SetPreviewFont(self.GetFont())
             if dialog.ShowModal() == wx.ID_OK:
                 value = dialog.GetValues()