mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-15 00:04:37 -04:00
Geopackage: fix store connection from browser
This commit is contained in:
parent
704ac54561
commit
ef975476fe
@ -512,6 +512,7 @@ void QgsGeoPackageCollectionItem::addTable()
|
||||
void QgsGeoPackageCollectionItem::addConnection()
|
||||
{
|
||||
QgsOgrDbConnection connection( mName, QStringLiteral( "GPKG" ) );
|
||||
connection.setPath( mPath );
|
||||
connection.save();
|
||||
mParent->refreshConnections();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user