DbViewer: fixed scan disappearing after editing constraint

This commit is contained in:
matlabbe
2020-11-21 14:35:29 -05:00
parent ddecefbb9c
commit fb206b4f1e
+2 -2
View File
@@ -5334,8 +5334,8 @@ void DatabaseViewer::editConstraint()
}
if(updated)
{
updateConstraintView();
this->updateGraphView();
updateConstraintView();
}
}
}
@@ -5366,8 +5366,8 @@ void DatabaseViewer::editConstraint()
newLink = newLink.inverse();
}
linksAdded_.insert(std::make_pair(newLink.from(), newLink));
updateLoopClosuresSlider(from, to);
this->updateGraphView();
updateLoopClosuresSlider(from, to);
}
}
}