Skip to content

Commit

Permalink
Followup b53cab2, Edit dialog is not an add dialog
Browse files Browse the repository at this point in the history
Fix #11036
  • Loading branch information
m-kuhn committed Aug 14, 2014
1 parent 54e3fea commit 4dce5ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsfeatureaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ bool QgsFeatureAction::editFeature()
else
{
QgsAttributes src = mFeature.attributes();
dialog->setIsAddDialog( true );
if ( !mFeature.isValid() )
dialog->setIsAddDialog( true );

if ( dialog->exec() )
{
Expand Down

0 comments on commit 4dce5ec

Please sign in to comment.