[core/theme] fix mergeing of iconsets
iconsets should only overwrite parameters that are *not* set in the main theme file. fixes #666
This commit is contained in:
parent
e006344dcc
commit
227a23fdb5
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class Theme(object):
|
||||||
self.__data = raw_data if raw_data else self.load(name)
|
self.__data = raw_data if raw_data else self.load(name)
|
||||||
|
|
||||||
for icons in self.__data.get("icons", []):
|
for icons in self.__data.get("icons", []):
|
||||||
self.__data = util.algorithm.merge(self.load(icons, "icons"), self.__data)
|
self.__data = util.algorithm.merge(self.__data, self.load(icons, "icons"))
|
||||||
if iconset != "auto":
|
if iconset != "auto":
|
||||||
self.__data = util.algorithm.merge(self.load(iconset, "icons"), self.__data)
|
self.__data = util.algorithm.merge(self.load(iconset, "icons"), self.__data)
|
||||||
for colors in self.__data.get("colors", []):
|
for colors in self.__data.get("colors", []):
|
||||||
|
|
Loading…
Reference in a new issue