Skip to content

Commit

Permalink
Geopackage: fix store connection from browser
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Sep 18, 2017
1 parent 704ac54 commit ef97547
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/ogr/qgsgeopackagedataitems.cpp
Expand Up @@ -512,6 +512,7 @@ void QgsGeoPackageCollectionItem::addTable()
void QgsGeoPackageCollectionItem::addConnection()
{
QgsOgrDbConnection connection( mName, QStringLiteral( "GPKG" ) );
connection.setPath( mPath );
connection.save();
mParent->refreshConnections();
}
Expand Down

0 comments on commit ef97547

Please sign in to comment.