Преглед изворни кода

Corrected bug: Now deep theme inferitance does not loose resources

svn changeset:435/svn branch:toolkit
tags/6.7.0.beta1
Joonas Lehtinen пре 17 година
родитељ
комит
ff2ce94eff
1 измењених фајлова са 3 додато и 5 уклоњено
  1. 3
    5
      src/com/itmill/toolkit/terminal/web/CollectionThemeSource.java

+ 3
- 5
src/com/itmill/toolkit/terminal/web/CollectionThemeSource.java Прегледај датотеку

@@ -122,13 +122,11 @@ public class CollectionThemeSource implements ThemeSource {

// Get list of themes to look for the resource
List themes = new LinkedList();
if (themeName.length() > 0) {
while (themeName != null && themeName.length() > 0) {
Theme t = this.getThemeByName(themeName);
if (t != null) {
if (t != null)
themes.add(themeName);
if (t.getParent() != null)
themes.add(t.getParent());
}
themeName = t.getParent();
}

// Iterate all themes in list

Loading…
Откажи
Сачувај