controls/VariablePanel.py
changeset 1878 fb73a6b6622d
parent 1853 47a3f39bead0
child 1951 bbd1e1744c91
child 1969 0607c382d73f
--- a/controls/VariablePanel.py	Thu Oct 19 10:57:35 2017 +0300
+++ b/controls/VariablePanel.py	Thu Oct 19 11:03:03 2017 +0300
@@ -395,7 +395,7 @@
                                 location = "%M" + location
                         if element_type == "functionBlock":
                             configs = self.ParentWindow.Controler.GetProjectConfigNames(
-                                                                self.ParentWindow.Debug)
+                                self.ParentWindow.Debug)
                             if len(configs) == 0:
                                 return
                             if not var_name.upper() in [
@@ -619,7 +619,7 @@
                     row_content.Class = self.Filter
 
             row_content.Name = self.Controler.GenerateNewName(
-                    self.TagName, None, name + "%d", start_idx)
+                self.TagName, None, name + "%d", start_idx)
 
             if self.Filter == "All" and len(self.Values) > 0:
                 self.Values.insert(new_row, row_content)