mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-25847 - NPE: DesignDropTargetListener.dragExit
This commit is contained in:
+3
-1
@@ -178,7 +178,9 @@ class DesignDropTargetListener implements DropTargetListener {
|
||||
|
||||
public void dragExit(DropTargetEvent dte) {
|
||||
try {
|
||||
myComponentTree.setDropTargetComponent(null);
|
||||
if (myComponentTree != null) {
|
||||
myComponentTree.setDropTargetComponent(null);
|
||||
}
|
||||
myUseDragDelta = false;
|
||||
if (myDraggedComponentList != null) {
|
||||
cancelDrag();
|
||||
|
||||
Reference in New Issue
Block a user