Skip to content

Commit

Permalink
Show feature count in field calc
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed May 6, 2014
1 parent 2d55c6d commit 866a24d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsfieldcalculator.cpp
Expand Up @@ -88,6 +88,7 @@ QgsFieldCalculator::QgsFieldCalculator( QgsVectorLayer* vl )
bool hasselection = vl->selectedFeaturesIds().size() > 0;
mOnlyUpdateSelectedCheckBox->setChecked( hasselection );
mOnlyUpdateSelectedCheckBox->setEnabled( hasselection );
mOnlyUpdateSelectedCheckBox->setText( tr( "Only update %1 selected features" ).arg( vl->selectedFeaturesIds().size() ) );
}

QgsFieldCalculator::~QgsFieldCalculator()
Expand Down

0 comments on commit 866a24d

Please sign in to comment.