Skip to content

Commit 85602c6

Browse files
committedMar 30, 2018
fix doc: followup bf41a90
1 parent bf41a90 commit 85602c6

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
 

‎python/gui/layertree/qgslayertreeviewdefaultactions.sip.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,14 @@ Action to enable/disable mutually exclusive flag of a group (only one child node
7070
%End
7171

7272
void zoomToLayer( QgsMapCanvas *canvas );
73+
7374
void zoomToSelection( QgsMapCanvas *canvas );
75+
%Docstring
76+
77+
.. seealso:: :py:func:`zoomToSelection`
78+
79+
.. versionadded:: 3.2
80+
%End
7481
void zoomToGroup( QgsMapCanvas *canvas );
7582

7683
public slots:

‎src/gui/layertree/qgslayertreeviewdefaultactions.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ class GUI_EXPORT QgsLayerTreeViewDefaultActions : public QObject
7676
QAction *actionMutuallyExclusiveGroup( QObject *parent = nullptr ) SIP_FACTORY;
7777

7878
void zoomToLayer( QgsMapCanvas *canvas );
79+
80+
/**
81+
* \see zoomToSelection()
82+
* \since QGIS 3.2
83+
*/
7984
void zoomToSelection( QgsMapCanvas *canvas );
8085
void zoomToGroup( QgsMapCanvas *canvas );
8186

0 commit comments

Comments
 (0)
Please sign in to comment.