controls/VariablePanel.py
changeset 1738 d2e979738700
parent 1737 a39c2918c015
child 1739 ec153828ded2
--- a/controls/VariablePanel.py	Mon Aug 14 23:34:22 2017 +0300
+++ b/controls/VariablePanel.py	Mon Aug 14 23:38:28 2017 +0300
@@ -323,7 +323,7 @@
             elif (element_type not in ["config", "resource", "function"] and values[1] == "Global" and
                   self.ParentWindow.Filter in ["All", "Interface", "External"] or
                   element_type != "function" and values[1] in ["location", "NamedConstant"]):
-                if values[1] in  ["location","NamedConstant"]:
+                if values[1] in ["location","NamedConstant"]:
                     var_name = values[3]
                 else:
                     var_name = values[0]