mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
[ui] Display map layer functions above list of map layers
This commit is contained in:
parent
516087ed62
commit
c1a2904cce
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user