Skip to content

Commit

Permalink
fill ring: set attribute dialog to add mode (fixes #10363)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 1, 2014
1 parent 386e2f3 commit c94297a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsmaptoolfillring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ void QgsMapToolFillRing::canvasReleaseEvent( QMouseEvent * e )
else
{
QgsAttributeDialog *dialog = new QgsAttributeDialog( vlayer, ft, false, NULL, true );
dialog->setIsAddDialog( true );
if ( dialog->exec() )
{
res = vlayer->addFeature( *ft );
Expand Down

0 comments on commit c94297a

Please sign in to comment.