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 846d350 commit 17ae82d68d4b24fe6be31c135afb23344c2a7b15
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 17ae82d

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