Skip to content

Commit

Permalink
Slight re-wording of the scale widget to match that of the extent cou…
Browse files Browse the repository at this point in the history
…nterpart
  • Loading branch information
nirvn committed Jan 6, 2022
1 parent 9c75ae7 commit 1527025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsscalewidget.cpp
Expand Up @@ -102,7 +102,7 @@ void QgsScaleWidget::menuAboutToShow()

double scale = mCanvas->scale();
QAction *canvasScaleAction = new QAction( QgsApplication::getThemeIcon( QStringLiteral( "/mActionMapIdentification.svg" ) ),
tr( "Current Canvas Scale (1:%1)" ).arg( qgsDoubleToString( scale, 0 ) ), mMenu );
tr( "Use Current Map Canvas Scale (1:%1)" ).arg( qgsDoubleToString( scale, 0 ) ), mMenu );
connect( canvasScaleAction, &QAction::triggered, this, [this, scale] { setScale( scale ); } );
mMenu->addAction( canvasScaleAction );

Expand Down

0 comments on commit 1527025

Please sign in to comment.