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