Skip to content
Permalink
Browse files

Fix #9785

  • Loading branch information
NathanW2 committed May 18, 2014
1 parent 218da5a commit b66ee237ef45d66d1481d415798870d775791af8
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsfieldcalculator.cpp
@@ -89,6 +89,8 @@ QgsFieldCalculator::QgsFieldCalculator( QgsVectorLayer* vl )
mOnlyUpdateSelectedCheckBox->setChecked( hasselection );
mOnlyUpdateSelectedCheckBox->setEnabled( hasselection );
mOnlyUpdateSelectedCheckBox->setText( tr( "Only update %1 selected features" ).arg( vl->selectedFeaturesIds().size() ) );

builder->loadRecent( "fieldcalc" );
}

QgsFieldCalculator::~QgsFieldCalculator()
@@ -97,6 +99,7 @@ QgsFieldCalculator::~QgsFieldCalculator()

void QgsFieldCalculator::accept()
{
builder->saveToRecent( "fieldcalc" );

// Set up QgsDistanceArea each time we (re-)calculate
QgsDistanceArea myDa;

0 comments on commit b66ee23

Please sign in to comment.
You can’t perform that action at this time.