[jasper/world/studio/worldobjectset] Fix navigation handler to load appropriate obj
All checks were successful
Build / build (push) Successful in 1m31s

This commit is contained in:
Gary Talent 2025-05-15 21:35:57 -05:00
parent dd266b23b2
commit 67108e58de

View File

@ -85,7 +85,8 @@ void WorldObjectSetEditorImGui::navigateTo(ox::StringViewCR arg) noexcept {
return wo.name == arg; return wo.name == arg;
}); });
if (idx != m_doc.objects.end()) { if (idx != m_doc.objects.end()) {
m_selectedObj = idx.offset();; m_selectedObj = idx.offset();
std::ignore = loadObj();
} }
} }