Skip to content

Commit

Permalink
[TD]update VP property changes immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan committed Jan 27, 2020
1 parent f5d66c5 commit bd1a462
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Mod/TechDraw/Gui/ViewProviderRichAnno.cpp
Expand Up @@ -129,6 +129,15 @@ void ViewProviderRichAnno::updateData(const App::Property* p)

void ViewProviderRichAnno::onChanged(const App::Property* p)
{
if ((p == &LineColor) ||
(p == &LineWidth) ||
(p == &LineStyle)) {
QGIView* qgiv = getQView();
if (qgiv) {
qgiv->updateView(true);
}
}

ViewProviderDrawingView::onChanged(p);
}

Expand Down

0 comments on commit bd1a462

Please sign in to comment.