|
|
|
@ -718,7 +718,7 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
|
|
|
|
|
public void undo() { |
|
|
|
|
this.getUndoManager().undo(); |
|
|
|
|
// 撤销前模版使用主题可能已经被删除或修改,需要重置模版样式
|
|
|
|
|
checkAndResetTheme(); |
|
|
|
|
checkAndResetTheme(true); |
|
|
|
|
fireSuperTargetModified(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -728,7 +728,7 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
|
|
|
|
|
public void redo() { |
|
|
|
|
this.getUndoManager().redo(); |
|
|
|
|
// 重做前模版使用主题可能已经被删除或修改,需要重置模版样式
|
|
|
|
|
checkAndResetTheme(); |
|
|
|
|
checkAndResetTheme(true); |
|
|
|
|
fireSuperTargetModified(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|