@@ -1284,6 +1284,7 @@ bool QgsOgrProvider::changeAttributeValues( const QgsChangedAttributesMap &attr_
1284
1284
{
1285
1285
pushError ( tr ( " OGR error syncing to disk: %1" ).arg ( CPLGetLastErrorMsg () ) );
1286
1286
}
1287
+ QgsOgrConnPool::instance ()->invalidateConnections ( filePath () );
1287
1288
return true ;
1288
1289
}
1289
1290
@@ -1348,6 +1349,7 @@ bool QgsOgrProvider::changeGeometryValues( QgsGeometryMap & geometry_map )
1348
1349
1349
1350
OGR_F_Destroy ( theOGRFeature );
1350
1351
}
1352
+ QgsOgrConnPool::instance ()->invalidateConnections ( filePath () );
1351
1353
return syncToDisc ();
1352
1354
}
1353
1355
@@ -1607,17 +1609,17 @@ static QString createFileFilter_( QString const &longName, QString const &glob )
1607
1609
1608
1610
QString createFilters ( QString type )
1609
1611
{
1610
- /* *Database drivers available*/
1612
+ /* * Database drivers available*/
1611
1613
static QString myDatabaseDrivers;
1612
- /* *Protocol drivers available*/
1614
+ /* * Protocol drivers available*/
1613
1615
static QString myProtocolDrivers;
1614
- /* *File filters*/
1616
+ /* * File filters*/
1615
1617
static QString myFileFilters;
1616
- /* *Directory drivers*/
1618
+ /* * Directory drivers*/
1617
1619
static QString myDirectoryDrivers;
1618
- /* *Extensions*/
1620
+ /* * Extensions*/
1619
1621
static QStringList myExtensions;
1620
- /* *Wildcards*/
1622
+ /* * Wildcards*/
1621
1623
static QStringList myWildcards;
1622
1624
1623
1625
// if we've already built the supported vector string, just return what
@@ -2014,7 +2016,7 @@ QGISEXTERN bool isProvider()
2014
2016
return true ;
2015
2017
}
2016
2018
2017
- /* *Creates an empty data source
2019
+ /* * Creates an empty data source
2018
2020
@param uri location to store the file(s)
2019
2021
@param format data format (e.g. "ESRI Shapefile"
2020
2022
@param vectortype point/line/polygon or multitypes
0 commit comments