[core/theme] take alias into consideration when themeing

see #643
This commit is contained in:
tobi-wan-kenobi 2020-06-03 07:59:09 +02:00
parent 20866ca7c0
commit 23d7222576

View file

@ -137,6 +137,9 @@ class Theme(object):
value = merge_replace( value = merge_replace(
value, self.get(widget.module.name, None, {}).get(key, value), key value, self.get(widget.module.name, None, {}).get(key, value), key
) )
value = merge_replace(
value, self.get(widget.module.id, None, {}).get(key, value), key
)
if not key in widget.state(): if not key in widget.state():
for state in widget.state(): for state in widget.state():