Skip to content

Commit

Permalink
[NEEDS-DOCS] Reword "zoom to layer scale" to "zoom to visible scale"
Browse files Browse the repository at this point in the history
...makes it clearer what this does, as the original wording could be
confused with zooming to the layer's native scale/resolution
  • Loading branch information
nyalldawson committed Mar 12, 2016
1 parent 1e1dfca commit 23cd2fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsapplayertreeviewmenuprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ QMenu* QgsAppLayerTreeViewMenuProvider::createContextMenu()
menu->addAction( tr( "&Set Layer Scale Visibility" ), QgisApp::instance(), SLOT( setLayerScaleVisibility() ) );

if ( !layer->isInScaleRange( mCanvas->scale() ) )
menu->addAction( tr( "Zoom to Layer Scale" ), QgisApp::instance(), SLOT( zoomToLayerScale() ) );
menu->addAction( tr( "Zoom to &Visible Scale" ), QgisApp::instance(), SLOT( zoomToLayerScale() ) );

// set layer crs
menu->addAction( QgsApplication::getThemeIcon( "/mActionSetCRS.png" ), tr( "Set Layer CRS" ), QgisApp::instance(), SLOT( setLayerCRS() ) );
Expand Down

0 comments on commit 23cd2fc

Please sign in to comment.