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 committed Nov 12, 2024
1 parent acf3496 commit 7d25c64
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 7d25c64

Please sign in to comment.