Skip to content

Commit fec9e65

Browse files
committed
Fix #10730 (fill ring does not work as expected)
1 parent dd35e69 commit fec9e65

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/app/qgsmaptoolfillring.cpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,7 @@ void QgsMapToolFillRing::canvasReleaseEvent( QMouseEvent * e )
168168
{
169169
QgsAttributeDialog *dialog = new QgsAttributeDialog( vlayer, ft, false, NULL, true );
170170
dialog->setIsAddDialog( true );
171-
if ( dialog->exec() )
172-
{
173-
res = vlayer->addFeature( *ft );
174-
}
171+
res = dialog->exec(); // will also add the feature
175172
}
176173

177174
if ( res )

0 commit comments

Comments
 (0)