|
|
|
@ -251,7 +251,7 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
|
|
|
|
|
if (themeConfigChangeListener != null) { |
|
|
|
|
TemplateThemeConfig<? extends TemplateTheme> config = getUsingTemplateThemeConfig(); |
|
|
|
|
if (config != null) { |
|
|
|
|
config.addThemeConfigChangeListener(themeConfigChangeListener); |
|
|
|
|
config.removeThemeConfigChangeListener(themeConfigChangeListener); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|