Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix incorrect variable name to allow deletion of geopackage from browser
  • Loading branch information
github-actions[bot] authored and nyalldawson committed Mar 24, 2020
1 parent ff31f9b commit 97db1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/providers/ogr/qgsgeopackageitemguiprovider.cpp
Expand Up @@ -120,7 +120,7 @@ void QgsGeoPackageItemGuiProvider::populateContextMenu( QgsDataItem *item, QMenu
QVariantMap dataDelete;
dataDelete.insert( QStringLiteral( "path" ), collectionItem->path() );
dataDelete.insert( QStringLiteral( "parent" ), QVariant::fromValue( QPointer< QgsDataItem >( collectionItem->parent() ) ) );
actionAddTable->setData( dataDelete );
actionDelete->setData( dataDelete );
connect( actionDelete, &QAction::triggered, this, &QgsGeoPackageItemGuiProvider::deleteGpkg );
menu->addAction( actionDelete );

Expand Down

0 comments on commit 97db1ab

Please sign in to comment.