diff -r f68a105000be -r c3679f96020b controls/VariablePanel.py --- a/controls/VariablePanel.py Sat Aug 19 00:11:12 2017 +0300 +++ b/controls/VariablePanel.py Sat Aug 19 00:30:22 2017 +0300 @@ -50,9 +50,17 @@ def GetVariableTableColnames(location): _ = NoTranslate - if location: - return ["#", _("Name"), _("Class"), _("Type"), _("Location"), _("Initial Value"), _("Option"), _("Documentation")] - return ["#", _("Name"), _("Class"), _("Type"), _("Initial Value"), _("Option"), _("Documentation")] + cols = ["#", + _("Name"), + _("Class"), + _("Type"), + _("Location"), + _("Initial Value"), + _("Option"), + _("Documentation")] + if not location: + del cols[4] # remove 'Location' column + return cols def GetOptions(constant=True, retain=True, non_retain=True):