Geopackage: fix store connection from browser

This commit is contained in:
Alessandro Pasotti 2017-09-18 13:47:28 +02:00
parent 704ac54561
commit ef975476fe

View File

@ -512,6 +512,7 @@ void QgsGeoPackageCollectionItem::addTable()
void QgsGeoPackageCollectionItem::addConnection()
{
QgsOgrDbConnection connection( mName, QStringLiteral( "GPKG" ) );
connection.setPath( mPath );
connection.save();
mParent->refreshConnections();
}