Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[ui] Display map layer functions above list of map layers
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/gui/qgsexpressiontreeview.cpp
|
@@ -413,7 +413,7 @@ void QgsExpressionTreeView::loadLayers() |
|
|
for ( ; layerIt != layers.constEnd(); ++layerIt ) |
|
|
{ |
|
|
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 ); |
|
|
} |
|
|
} |
|
|
|
|
|