@ -87,7 +87,7 @@ public abstract class BaseDesigner extends ToolBarMenuDock {
}
public void show() {
UIUtil.invokeLaterIfNeeded(() -> refreshTemplateTree());
UIUtil.invokeLaterIfNeeded(this::refreshTemplateTree);
private void refreshTemplateTree() {
@ -68,11 +68,6 @@ public class XNameWidget extends XWidgetCreator {
Widget widget;
if (wc != null && (widget= wc.toWidget()) != null) {
editor = XCreatorUtils.createXCreator(widget);
NameWidget currentWidget = toData();
if (currentWidget.isNeedDefaultAttr()) {
currentWidget.setVisible(widget.isVisible());
currentWidget.setEnabled(widget.isEnabled());
this.setBorder(null);
} else {
this.setBorder(DEFALUTBORDER);