Skip to content
Permalink
Browse files
Fix incorrect variable name to allow deletion of geopackage from browser
  • Loading branch information
stev-0 authored and nyalldawson committed Mar 24, 2020
1 parent 28467f2 commit 090fdf87747c49fcd0bfa064cdc26bf0bcb866d7
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 090fdf8

Please sign in to comment.