Skip to content

Commit bf3a83f

Browse files
committed
Fix - when search item for get, allow to check keys names (without
cycle)
1 parent 6457313 commit bf3a83f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/JSRootPainter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8912,7 +8912,7 @@
89128912
}
89138913

89148914
if (item) itemname = this.itemFullName(item);
8915-
else item = this.Find( { name: itemname, allow_index: true } );
8915+
else item = this.Find( { name: itemname, allow_index: true, check_keys: true } );
89168916

89178917
// if item not found, try to find nearest parent which could allow us to get inside
89188918
var d = (item!=null) ? null : this.Find({ name: itemname, last_exists: true, check_keys: true, allow_index: true });

0 commit comments

Comments
 (0)