[core/config] fix autohide parameter from configuration file
Need to parse the config parameter "autohide" into a list and actually check whether the current module is in the list. see #835
This commit is contained in:
parent
c7f58ae2a4
commit
f0ab3ef03a
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ class Config(util.store.Store):
|
|||
"""
|
||||
|
||||
def autohide(self, name):
|
||||
return name in self.__args.autohide or self.get("autohide")
|
||||
return name in self.__args.autohide or name in util.format.aslist(self.get("autohide", []))
|
||||
|
||||
"""Returns which modules should be hidden if they are in state error
|
||||
|
||||
|
|
Loading…
Reference in a new issue