mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
more bugfixing in field calculator
git-svn-id: http://svn.osgeo.org/qgis/trunk@12551 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
32ea3a2ae1
commit
668f4befbc
@ -177,13 +177,13 @@ void QgsFieldCalculator::accept()
|
||||
{
|
||||
mVectorLayer->changeAttributeValue( feature.id(), attributeId, value.string(), false );
|
||||
}
|
||||
|
||||
// stop blocking layerModified signals and make sure that one layerModified signal is emitted
|
||||
mVectorLayer->blockSignals( false );
|
||||
mVectorLayer->setModified( true, false );
|
||||
|
||||
}
|
||||
|
||||
// stop blocking layerModified signals and make sure that one layerModified signal is emitted
|
||||
mVectorLayer->blockSignals( false );
|
||||
mVectorLayer->setModified( true, false );
|
||||
|
||||
|
||||
if ( !calculationSuccess )
|
||||
{
|
||||
QMessageBox::critical( 0, tr( "Error" ), tr( "An error occured while evaluating the calculation string." ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user