Browse Source

REPORT-4634 组件叠加体验优化=>4缩略图=>修复删除组件后,预览框不消失的bug

master
plough 7 years ago
parent
commit
efd9d23afc
  1. 8
      designer_form/src/com/fr/design/mainframe/ComponentTree.java

8
designer_form/src/com/fr/design/mainframe/ComponentTree.java

@ -70,6 +70,14 @@ public class ComponentTree extends JTree {
super.setSelectionPath(path); super.setSelectionPath(path);
} }
@Override
public void removeAll() {
if (previewPane != null && previewPane.isVisible()) {
previewPane.setVisible(false);
}
super.removeAll();
}
/** /**
* 是否可编辑 * 是否可编辑

Loading…
Cancel
Save