mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-25848 - NPE: DesignDropTargetListener.drop
This commit is contained in:
+3
-1
@@ -196,7 +196,9 @@ class DesignDropTargetListener implements DropTargetListener {
|
||||
|
||||
public void drop(final DropTargetDropEvent dtde) {
|
||||
try {
|
||||
myComponentTree.setDropTargetComponent(null);
|
||||
if (myComponentTree != null) {
|
||||
myComponentTree.setDropTargetComponent(null);
|
||||
}
|
||||
|
||||
|
||||
final DraggedComponentList dcl = DraggedComponentList.fromTransferable(dtde.getTransferable());
|
||||
|
||||
Reference in New Issue
Block a user