Fix Dimension Response to Changed X/Y

- Dimensions in Gui were not responding to changes in
  the Feature's X/Y properties.
This commit is contained in:
WandererFan
2018-02-28 11:13:08 -05:00
parent 404452d6ee
commit 8a26554eda
2 changed files with 20 additions and 16 deletions

View File

@@ -201,7 +201,9 @@ void ViewProviderDrawingView::finishRestoring()
void ViewProviderDrawingView::updateData(const App::Property* prop)
{
if (prop == &(getViewObject()->Rotation) ) {
if (prop == &(getViewObject()->Rotation) ||
prop == &(getViewObject()->X) ||
prop == &(getViewObject()->Y) ) {
QGIView* qgiv = getQView();
if (qgiv) {
qgiv->updateView(true);