diff --git a/designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java b/designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java index d603b3f32e..0cfc5110ed 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java @@ -1354,7 +1354,7 @@ public abstract class JTemplate> predefinedBtn.setText(getTemplatePredefinedStyle()); setPredefinedButtonSize(predefinedBtn); this.fireTargetModified(); - DesignUtils.refreshDesignerFrame(); + this.repaint(); } public String getTemplatePredefinedStyle(){