mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
QgsVectorLayer::setSubsetString(): call updateFields()
Useful for WFS provider whose setSubsetString() can potentially modify fields if changing the SELECT fields
This commit is contained in:
parent
1da1c278e7
commit
e503ca82e2
@ -979,6 +979,7 @@ bool QgsVectorLayer::setSubsetString( const QString& subset )
|
||||
// get the updated data source string from the provider
|
||||
mDataSource = mDataProvider->dataSourceUri();
|
||||
updateExtents();
|
||||
updateFields();
|
||||
|
||||
if ( res )
|
||||
emit repaintRequested();
|
||||
|
Loading…
x
Reference in New Issue
Block a user