Skip to content

Commit

Permalink
Update src/gui/stac/qgsstacdownloadassetsdialog.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored Nov 11, 2024
1 parent 054068e commit 1997a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/stac/qgsstacdownloadassetsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 1997a16

Please sign in to comment.