Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix field calculator when update are allowed and add attribute is not (
…fixes #11932)
  • Loading branch information
jef-n committed Feb 13, 2015
1 parent 065d190 commit 3294505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsfieldcalculator.cpp
Expand Up @@ -158,7 +158,7 @@ void QgsFieldCalculator::accept()
return;
}

if ( mNewFieldGroupBox->isEnabled() && mCreateVirtualFieldCheckbox->isChecked() )
if ( mNewFieldGroupBox->isChecked() && mCreateVirtualFieldCheckbox->isChecked() )
{
mVectorLayer->addExpressionField( calcString, fieldDefinition() );
}
Expand Down

0 comments on commit 3294505

Please sign in to comment.