|
|
@ -114,10 +114,7 @@ public class FollowingThemePane extends BasicPane implements UIObserver { |
|
|
|
public TemplateTheme getUsingTheme() { |
|
|
|
public TemplateTheme getUsingTheme() { |
|
|
|
JTemplate<?, ?> template = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
JTemplate<?, ?> template = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
if (template != null) { |
|
|
|
if (template != null) { |
|
|
|
TemplateTheme theme = template.getTemplateTheme(); |
|
|
|
return template.getTemplateTheme(); |
|
|
|
if (theme instanceof FormTheme) { |
|
|
|
|
|
|
|
return theme; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|