xiaoxia 8 years ago
parent
commit
275fe159b0
  1. 5
      designer_form/src/com/fr/design/mainframe/widget/UITreeComboBox.java

5
designer_form/src/com/fr/design/mainframe/widget/UITreeComboBox.java

@ -145,10 +145,13 @@ public class UITreeComboBox extends JComboBox{
setSelectedItem(paths[0]);
MenuSelectionManager.defaultManager().clearSelectedPath();
}
} else {
} else if (evt.getCreatorEventID() == DesignerEvent.CREATOR_CUTED) {
tree.refreshUI();
setSelectedItem(null);
MenuSelectionManager.defaultManager().clearSelectedPath();
} else {
tree.refreshUI();
tree.repaint();
}
}

Loading…
Cancel
Save