Skip to content

Commit

Permalink
Prevent double-add feature
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 22, 2015
1 parent 2f550ce commit 7cc6a19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsattributeform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ bool QgsAttributeForm::save()
{
mFeature.setAttributes( updatedFeature.attributes() );
mLayer->endEditCommand();
mIsAddDialog = false;
changedLayer = true;
}
else
Expand Down

0 comments on commit 7cc6a19

Please sign in to comment.