Prevent double-add feature

This commit is contained in:
Matthias Kuhn 2015-07-22 13:17:37 +02:00
parent 2f550ce9e6
commit 7cc6a1990f

View File

@ -196,6 +196,7 @@ bool QgsAttributeForm::save()
{
mFeature.setAttributes( updatedFeature.attributes() );
mLayer->endEditCommand();
mIsAddDialog = false;
changedLayer = true;
}
else