Skip to content

Commit

Permalink
[ui] Display map layer functions above list of map layers
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn authored and nyalldawson committed Mar 12, 2021
1 parent 516087e commit c1a2904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsexpressiontreeview.cpp
Expand Up @@ -413,7 +413,7 @@ void QgsExpressionTreeView::loadLayers()
for ( ; layerIt != layers.constEnd(); ++layerIt ) for ( ; layerIt != layers.constEnd(); ++layerIt )
{ {
QIcon icon = QgsMapLayerModel::iconForLayer( layerIt.value() ); QIcon icon = QgsMapLayerModel::iconForLayer( layerIt.value() );
registerItem( QStringLiteral( "Map Layers" ), layerIt.value()->name(), QStringLiteral( "'%1'" ).arg( layerIt.key() ), formatLayerHelp( layerIt.value() ), QgsExpressionItem::ExpressionNode, false, 1, icon ); registerItem( QStringLiteral( "Map Layers" ), layerIt.value()->name(), QStringLiteral( "'%1'" ).arg( layerIt.key() ), formatLayerHelp( layerIt.value() ), QgsExpressionItem::ExpressionNode, false, 99, icon );
} }
} }


Expand Down

0 comments on commit c1a2904

Please sign in to comment.