Mass: fix a bug that prevented global styles from being read.

This commit is contained in:
Guillaume Jacquemin 2022-03-02 14:10:13 +01:00
parent 572585e648
commit 6208825aa6

View file

@ -832,7 +832,6 @@ void Mass::getGlobalStyles() {
if(global_styles->items.size() != _globalStyles.size()) { if(global_styles->items.size() != _globalStyles.size()) {
_globalStyles = Containers::Array<CustomStyle>{global_styles->items.size()}; _globalStyles = Containers::Array<CustomStyle>{global_styles->items.size()};
return;
} }
getCustomStyles(_globalStyles, global_styles); getCustomStyles(_globalStyles, global_styles);