Skip to content

Commit e5604f9

Browse files
committed
Update the save 3D map message bar to link to files
1 parent 90c9703 commit e5604f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/3d/qgs3dmapcanvasdockwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Qgs3DMapCanvasDockWidget::Qgs3DMapCanvasDockWidget( QWidget *parent )
5959

6060
connect( mCanvas, &Qgs3DMapCanvas::savedAsImage, this, [ = ]( const QString fileName )
6161
{
62-
QgisApp::instance()->messageBar()->pushSuccess( tr( "Save as Image" ), tr( "Successfully saved the 3D map to <a href=\"%1\">%2</a>" ).arg( QUrl::fromLocalFile( QFileInfo( fileName ).path() ).toString(), QDir::toNativeSeparators( fileName ) ) );
62+
QgisApp::instance()->messageBar()->pushSuccess( tr( "Save as Image" ), tr( "Successfully saved the 3D map to <a href=\"%1\">%2</a>" ).arg( QUrl::fromLocalFile( fileName ).toString(), QDir::toNativeSeparators( fileName ) ) );
6363
} );
6464

6565
mLabelPendingJobs = new QLabel( this );

0 commit comments

Comments
 (0)