Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Geopackage: fix store connection from browser
- Loading branch information
Showing
with
1 addition
and
0 deletions.
-
+1
−0
src/providers/ogr/qgsgeopackagedataitems.cpp
|
@@ -512,6 +512,7 @@ void QgsGeoPackageCollectionItem::addTable() |
|
|
void QgsGeoPackageCollectionItem::addConnection() |
|
|
{ |
|
|
QgsOgrDbConnection connection( mName, QStringLiteral( "GPKG" ) ); |
|
|
connection.setPath( mPath ); |
|
|
connection.save(); |
|
|
mParent->refreshConnections(); |
|
|
} |
|
|