Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
8 additions
and
2 deletions.
-
+4
−1
python/core/auto_generated/qgsmaplayer.sip.in
-
+4
−1
src/core/qgsmaplayer.h
|
@@ -1490,7 +1490,10 @@ Sets the coordinate transform context to ``transformContext`` |
|
|
|
|
|
QgsProject *project() const; |
|
|
%Docstring |
|
|
Returns the parent project if available. |
|
|
Returns the parent project if this map layer is added to a project. |
|
|
Otherwise returns ``None`` |
|
|
|
|
|
.. versionadded:: 3.18 |
|
|
%End |
|
|
|
|
|
signals: |
|
|
|
@@ -1336,7 +1336,10 @@ class CORE_EXPORT QgsMapLayer : public QObject |
|
|
#endif |
|
|
|
|
|
/** |
|
|
* Returns the parent project if available. |
|
|
* Returns the parent project if this map layer is added to a project. |
|
|
* Otherwise returns NULLPTR |
|
|
* |
|
|
* \since QGIS 3.18 |
|
|
*/ |
|
|
QgsProject *project() const; |
|
|
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.