gui: fixed wrongly showing landmark rejected when it was not (because a loop closure was rejected at the same time)

This commit is contained in:
matlabbe
2022-09-19 12:23:18 -07:00
parent 737675c6f1
commit 95a76cb696
2 changed files with 2 additions and 0 deletions

View File

@@ -2103,6 +2103,7 @@ void MainWindow::processStats(const rtabmap::Statistics & stat)
}
else if(landmarkId!=0)
{
highestHypothesisId = landmarkNodeRef;
if(rejectedHyp)
{
show = _preferencesDialog->imageRejectedShown();