fix doc: followup bf41a90af80f2284f087780cf4ef6931b2a76bcf

This commit is contained in:
Salvatore Larosa 2018-03-30 23:47:36 +02:00
parent bf41a90af8
commit 85602c60f4
2 changed files with 12 additions and 0 deletions

View File

@ -70,7 +70,14 @@ Action to enable/disable mutually exclusive flag of a group (only one child node
%End
void zoomToLayer( QgsMapCanvas *canvas );
void zoomToSelection( QgsMapCanvas *canvas );
%Docstring
.. seealso:: :py:func:`zoomToSelection`
.. versionadded:: 3.2
%End
void zoomToGroup( QgsMapCanvas *canvas );
public slots:

View File

@ -76,6 +76,11 @@ class GUI_EXPORT QgsLayerTreeViewDefaultActions : public QObject
QAction *actionMutuallyExclusiveGroup( QObject *parent = nullptr ) SIP_FACTORY;
void zoomToLayer( QgsMapCanvas *canvas );
/**
* \see zoomToSelection()
* \since QGIS 3.2
*/
void zoomToSelection( QgsMapCanvas *canvas );
void zoomToGroup( QgsMapCanvas *canvas );