Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Switch menu shortcuts
  • Loading branch information
nyalldawson committed Mar 3, 2021
1 parent 54fc3ba commit 53506f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgsapplayertreeviewmenuprovider.cpp
Expand Up @@ -189,7 +189,7 @@ QMenu *QgsAppLayerTreeViewMenuProvider::createContextMenu()
const QString iconName = vlayer && vlayer->labeling() && vlayer->labeling()->type() == QLatin1String( "rule-based" )
? QStringLiteral( "labelingRuleBased.svg" )
: QStringLiteral( "labelingSingle.svg" );
QAction *actionShowLabels = new QAction( QgsApplication::getThemeIcon( iconName ), tr( "Show Labels" ), menu );
QAction *actionShowLabels = new QAction( QgsApplication::getThemeIcon( iconName ), tr( "Show &Labels" ), menu );
actionShowLabels->setCheckable( true );
actionShowLabels->setChecked( vlayer->labelsEnabled() );
const QString layerId = vlayer->id();
Expand Down Expand Up @@ -362,7 +362,7 @@ QMenu *QgsAppLayerTreeViewMenuProvider::createContextMenu()
if ( !layer->isInScaleRange( mCanvas->scale() ) )
menu->addAction( tr( "Zoom to &Visible Scale" ), QgisApp::instance(), &QgisApp::zoomToLayerScale );

QMenu *menuSetCRS = new QMenu( tr( "&Layer CRS" ), menu );
QMenu *menuSetCRS = new QMenu( tr( "La&yer CRS" ), menu );

const QList<QgsLayerTreeNode *> selectedNodes = mView->selectedNodes();
QgsCoordinateReferenceSystem layerCrs;
Expand Down

0 comments on commit 53506f3

Please sign in to comment.