mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
[ogr] Re-compute capabilities when a subset string is changed
This commit is contained in:
parent
9866b2402b
commit
cbf4a891a7
@ -573,12 +573,15 @@ bool QgsOgrProvider::setSubsetString( const QString &theSQL, bool updateFeatureC
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check the validity of the layer
|
// check the validity of the layer
|
||||||
QgsDebugMsg( "checking validity" );
|
QgsDebugMsgLevel( "checking validity", 4 );
|
||||||
loadFields();
|
loadFields();
|
||||||
QgsDebugMsg( "Done checking validity" );
|
QgsDebugMsgLevel( "Done checking validity", 4 );
|
||||||
|
|
||||||
invalidateCachedExtent( false );
|
invalidateCachedExtent( false );
|
||||||
|
|
||||||
|
// Changing the filter may change capabilities
|
||||||
|
computeCapabilities();
|
||||||
|
|
||||||
emit dataChanged();
|
emit dataChanged();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user