Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #10730 (fill ring does not work as expected)
  • Loading branch information
wonder-sk committed Jun 27, 2014
1 parent dd35e69 commit fec9e65
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/qgsmaptoolfillring.cpp
Expand Up @@ -168,10 +168,7 @@ void QgsMapToolFillRing::canvasReleaseEvent( QMouseEvent * e )
{
QgsAttributeDialog *dialog = new QgsAttributeDialog( vlayer, ft, false, NULL, true );
dialog->setIsAddDialog( true );
if ( dialog->exec() )
{
res = vlayer->addFeature( *ft );
}
res = dialog->exec(); // will also add the feature
}

if ( res )
Expand Down

0 comments on commit fec9e65

Please sign in to comment.