controls/VariablePanel.py
changeset 1738 d2e979738700
parent 1737 a39c2918c015
child 1739 ec153828ded2
equal deleted inserted replaced
1737:a39c2918c015 1738:d2e979738700
   321                         self.ParentWindow.Table.ResetView(self.ParentWindow.VariablesGrid)
   321                         self.ParentWindow.Table.ResetView(self.ParentWindow.VariablesGrid)
   322                         self.ParentWindow.SaveValues()
   322                         self.ParentWindow.SaveValues()
   323             elif (element_type not in ["config", "resource", "function"] and values[1] == "Global" and
   323             elif (element_type not in ["config", "resource", "function"] and values[1] == "Global" and
   324                   self.ParentWindow.Filter in ["All", "Interface", "External"] or
   324                   self.ParentWindow.Filter in ["All", "Interface", "External"] or
   325                   element_type != "function" and values[1] in ["location", "NamedConstant"]):
   325                   element_type != "function" and values[1] in ["location", "NamedConstant"]):
   326                 if values[1] in  ["location","NamedConstant"]:
   326                 if values[1] in ["location","NamedConstant"]:
   327                     var_name = values[3]
   327                     var_name = values[3]
   328                 else:
   328                 else:
   329                     var_name = values[0]
   329                     var_name = values[0]
   330                 tagname = self.ParentWindow.GetTagName()
   330                 tagname = self.ParentWindow.GetTagName()
   331                 dlg = wx.TextEntryDialog(
   331                 dlg = wx.TextEntryDialog(