Gui: Check return value from getDetail()

Coverity issue 251377. Every other use of this method follows this idiom, update the last call to match.
This commit is contained in:
Chris Hennes
2025-03-22 21:33:23 -05:00
committed by Kacper Donat
parent af8a86f6bf
commit 97638e0c82

View File

@@ -1534,8 +1534,9 @@ bool LinkView::linkGetDetailPath(const char *subname, SoFullPath *path, SoDetail
return true;
if(info.isLinked()) {
info.linkInfo->getDetail(false,childType,subname,det,path);
return true;
if (info.linkInfo->getDetail(false,childType,subname,det,path)) {
return true;
}
}
}
if(isLinked()) {