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