Browse Source

代码修改

feature/big-screen
kerry 4 years ago
parent
commit
d3d19e4899
  1. 3
      designer-base/src/main/java/com/fr/design/file/HistoryTemplateListCache.java

3
designer-base/src/main/java/com/fr/design/file/HistoryTemplateListCache.java

@ -13,6 +13,7 @@ import com.fr.design.mainframe.JTemplate;
import com.fr.design.mainframe.JTemplateFactory;
import com.fr.design.mainframe.JVirtualTemplate;
import com.fr.design.module.DesignModuleFactory;
import com.fr.design.ui.util.UIUtil;
import com.fr.file.FILE;
import com.fr.file.FileNodeFILE;
import com.fr.file.StashedFILE;
@ -433,7 +434,7 @@ public class HistoryTemplateListCache implements CallbackEvent {
* 重绘当前模板
*/
public void repaintCurrentEditingTemplate(){
SwingUtilities.invokeLater(new Runnable() {
UIUtil.invokeLaterIfNeeded(new Runnable() {
@Override
public void run() {
getCurrentEditingTemplate().repaint();

Loading…
Cancel
Save