Skip to content
Permalink
Browse files
Fix #10730 (fill ring does not work as expected)
  • Loading branch information
wonder-sk committed Jun 27, 2014
1 parent dd35e69 commit fec9e65af5541668ecb1184fe281961fd8bf5ea5
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/app/qgsmaptoolfillring.cpp
@@ -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 )

0 comments on commit fec9e65

Please sign in to comment.