From 4f56d9dd6ac42958324cb14f97f591cb6ae9fa3b Mon Sep 17 00:00:00 2001 From: David Signer Date: Tue, 25 Jun 2019 17:23:25 +0200 Subject: [PATCH] mapLayer invokable --- src/core/qgsproject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/qgsproject.h b/src/core/qgsproject.h index d84fa9099f8..c803d6ce948 100644 --- a/src/core/qgsproject.h +++ b/src/core/qgsproject.h @@ -700,7 +700,7 @@ class CORE_EXPORT QgsProject : public QObject, public QgsExpressionContextGenera * \see mapLayersByName() * \see mapLayers() */ - QgsMapLayer *mapLayer( const QString &layerId ) const; + Q_INVOKABLE QgsMapLayer *mapLayer( const QString &layerId ) const; #ifndef SIP_RUN