[Bug #1285] Avoided NPE when dropping a treerow in the same component
FEA: ItEr75S04BugFixing
This commit is contained in:
parent
6e83372b7c
commit
fcd98e8ea6
1 changed files with 2 additions and 1 deletions
|
|
@ -174,7 +174,8 @@ public abstract class TreeController<T extends ITreeNode<T>> extends
|
|||
}
|
||||
|
||||
public void move(Component dropedIn, Component dragged) {
|
||||
if (isPredicateApplied()) {
|
||||
if ((isPredicateApplied())
|
||||
|| (dropedIn.getUuid().equals(dragged.getUuid()))) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue