mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix #10730 (fill ring does not work as expected)
This commit is contained in:
parent
dd35e6940e
commit
fec9e65af5
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user