TechDraw: Enable snapping section views to their base views.

This commit is contained in:
PaddleStroke
2024-04-29 12:19:04 +02:00
committed by WandererFan
parent babe4cc35f
commit 48f43429bb
5 changed files with 77 additions and 23 deletions

View File

@@ -227,7 +227,7 @@ void ViewProviderDrawingView::updateData(const App::Property* prop)
if (prop == &obj->X
|| prop == &obj->Y) {
QGIView* qgiv = getQView();
if (qgiv) {
if (qgiv && !qgiv->isSnapping()) {
qgiv->QGIView::updateView(true);
// Update also the owner/parent view, if there is any