Browse Source

REPORT-56049 组件复用-组件目录树选中控件,如果选中后不移动鼠标的话,控件没有出现工具栏

feature/10.0
hades 3 years ago
parent
commit
52d9dfdf35
  1. 1
      designer-form/src/main/java/com/fr/design/mainframe/ComponentTree.java

1
designer-form/src/main/java/com/fr/design/mainframe/ComponentTree.java

@ -425,6 +425,7 @@ public class ComponentTree extends JTree {
Rectangle rectangle = getRelativeBounds(comp); Rectangle rectangle = getRelativeBounds(comp);
comp.showSelectedPopup(designer, rectangle, comp.acceptType(XWTitleLayout.class, XWCardMainBorderLayout.class, XWAbsoluteLayout.class)); comp.showSelectedPopup(designer, rectangle, comp.acceptType(XWTitleLayout.class, XWCardMainBorderLayout.class, XWAbsoluteLayout.class));
comp.setSelected(true); comp.setSelected(true);
designer.repaint();
} }
/** /**

Loading…
Cancel
Save