Skip to content

Commit

Permalink
[node editor] Update the table of vertices when bounded geometry changes
Browse files Browse the repository at this point in the history
(e.g., undo/redo operations)
  • Loading branch information
nirvn committed Jan 23, 2019
1 parent d5acddf commit 1bf792c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/vertextool/qgsvertextool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,9 @@ void QgsVertexTool::onCachedGeometryChanged( QgsFeatureId fid, const QgsGeometry

// re-run validation for the feature
validateGeometry( layer, fid );

if ( mVertexEditor && mSelectedFeature && mSelectedFeature->featureId() == fid && mSelectedFeature->layer() == layer )
mVertexEditor->updateEditor( mSelectedFeature->layer(), mSelectedFeature.get() );
}

void QgsVertexTool::onCachedGeometryDeleted( QgsFeatureId fid )
Expand Down

0 comments on commit 1bf792c

Please sign in to comment.