diff --git a/src/gui/interact/gen-node-location-query.hpp b/src/gui/interact/gen-node-location-query.hpp index 944436830..10545d309 100644 --- a/src/gui/interact/gen-node-location-query.hpp +++ b/src/gui/interact/gen-node-location-query.hpp @@ -148,12 +148,12 @@ namespace interact { throw error::State(_Fmt{"unable to drill down to depth %d: " "element %s at pos %d in path %s is in " "contradiction to actual UI structure"} - % (pos+1) + % pos % (depth Literal { return Symbol{id}; }; - ///////////////////////////////////////////////////////////////TICKET #1113 : could just use lib::wrapIter when GenNode exposes Literal as ID - return lib::transform (node.keys(), internedString); + return depth==UIC_PERSP? lib::singleVal (internedString (node.getType())) + : lib::transform (node.keys(), internedString); + /////////////////////////////////////////////////////////////////////TICKET #1113 : could just use lib::wrapIter when GenNode exposes Literal as ID } diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index 9904b8d12..9c3d516bf 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -4575,8 +4575,8 @@ - - + + @@ -4683,11 +4683,15 @@ - - + + + + + +