Skip to content
Permalink
Browse files

Fix incorrect variable name to allow deletion of geopackage from browser

  • Loading branch information
github-actions authored and nyalldawson committed Mar 24, 2020
1 parent ff31f9b commit 97db1ab0128de82defbf4f2666153425e7f34c22
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/providers/ogr/qgsgeopackageitemguiprovider.cpp
@@ -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 );

0 comments on commit 97db1ab

Please sign in to comment.
You can’t perform that action at this time.