[core/config] add autohide to configuration file
make it possible to configure a list of automatically hidden modules in the configuration file (+ add documentation for it). fixes #822
This commit is contained in:
parent
ed5a4e61e4
commit
c96d119b0e
2 changed files with 2 additions and 1 deletions
|
@ -328,7 +328,7 @@ class Config(util.store.Store):
|
|||
"""
|
||||
|
||||
def autohide(self, name):
|
||||
return name in self.__args.autohide
|
||||
return name in self.__args.autohide or self.get("autohide")
|
||||
|
||||
"""Returns which modules should be hidden if they are in state error
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue