We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 496c3f0 commit fa74b04Copy full SHA for fa74b04
src/providers/wfs/qgswfsprovider.cpp
@@ -656,6 +656,11 @@ QString QgsWFSProvider::subsetString()
656
bool QgsWFSProvider::setSubsetString( const QString& theSQL, bool updateFeatureCount )
657
{
658
QgsDebugMsg( QString( "theSql = '%1'" ).arg( theSQL ) );
659
+
660
+ // Invalid and cancel current download before altering fields, etc...
661
+ // (crashes might happen if not done at the beginning)
662
+ mShared->invalidateCache();
663
664
mSubsetString = theSQL;
665
mCacheMinMaxDirty = true;
666
0 commit comments