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 26154f3846
commit a8ec91bf50

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()) {