Browse Source

REPORT-4634 组件叠加体验优化=>2=>修复添加控件,控件树不刷新的问题

master
plough 7 years ago
parent
commit
43bff61f5d
  1. 4
      designer_form/src/com/fr/design/mainframe/FormHierarchyTreePane.java

4
designer_form/src/com/fr/design/mainframe/FormHierarchyTreePane.java

@ -99,9 +99,6 @@ public class FormHierarchyTreePane extends FormDockView implements HierarchyTree
if(this.componentTree != null) {
this.componentTree.removeAll();
}
// if(this.treeComboBox != null) {
// this.treeComboBox.removeAll();
// }
if (formDesigner == null) {
clearDockingView();
return;
@ -111,6 +108,7 @@ public class FormHierarchyTreePane extends FormDockView implements HierarchyTree
@Override
public void fireCreatorModified(DesignerEvent evt) {
componentTree.setAndScrollSelectionPath(componentTree.getSelectedTreePath());
componentTree.refreshUI();
}
});

Loading…
Cancel
Save