go more than 3 steps down the parent chain in getNonVirtualParent()
This commit is contained in:
parent
020766d634
commit
f5f4db52ca
1 changed files with 1 additions and 1 deletions
|
@ -1837,7 +1837,7 @@ public final class Node implements INode, Serializable {
|
|||
*/
|
||||
public INode getNonVirtualParent () {
|
||||
INode node = this;
|
||||
for (int i=0; i<3; i++) {
|
||||
for (int i=0; i<5; i++) {
|
||||
if (node == null) break;
|
||||
if (node.getState() != Node.VIRTUAL)
|
||||
return node;
|
||||
|
|
Loading…
Add table
Reference in a new issue