|
|
|
@ -189,13 +189,13 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
|
|
|
|
|
designModel = createDesignModel(parameters); |
|
|
|
|
} |
|
|
|
|
addCenterPane(); |
|
|
|
|
this.undoState = createUndoState(); |
|
|
|
|
|
|
|
|
|
initAndStartPlugin(); |
|
|
|
|
|
|
|
|
|
if (isNewFile) { |
|
|
|
|
// REPORT-58486: 必须在初始的UndoState创建前设置主题,使得初始的UndoState就包含了主题效果
|
|
|
|
|
setUpTheme4NewTemplate(); |
|
|
|
|
} |
|
|
|
|
this.undoState = createUndoState(); |
|
|
|
|
|
|
|
|
|
initAndStartPlugin(); |
|
|
|
|
startListenThemeConfig(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|