From 7d25c6496872165f498474547f13f4221c2fca75 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Tue, 12 Nov 2024 06:47:44 +1000 Subject: [PATCH] Update src/gui/stac/qgsstacdownloadassetsdialog.cpp --- src/gui/stac/qgsstacdownloadassetsdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/stac/qgsstacdownloadassetsdialog.cpp b/src/gui/stac/qgsstacdownloadassetsdialog.cpp index 3c9edd8d8459..6aeca1a88877 100644 --- a/src/gui/stac/qgsstacdownloadassetsdialog.cpp +++ b/src/gui/stac/qgsstacdownloadassetsdialog.cpp @@ -105,7 +105,7 @@ void QgsStacDownloadAssetsDialog::showContextMenu( QPoint p ) mContextMenu->clear(); const QString url = item->text( 5 ); - QAction *copyUrlAction = new QAction( tr( "Copy URL" ), this ); + QAction *copyUrlAction = new QAction( tr( "Copy URL" ), mContextMenu ); connect( copyUrlAction, &QAction::triggered, this, [url] { QApplication::clipboard()->setText( url );