Skip to content
Permalink
Browse files

make selection methods invokable in QgsVectorLayer

  • Loading branch information
3nids authored and nyalldawson committed Mar 17, 2020
1 parent d64586a commit 48406015ea65af6993a94671c91a6f2f43c64fdf
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/qgsvectorlayer.h
@@ -2323,7 +2323,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
*
* \see select(QgsFeatureId)
*/
void select( const QgsFeatureIds &featureIds );
Q_INVOKABLE void select( const QgsFeatureIds &featureIds );

/**
* Deselects feature by its ID
@@ -2341,15 +2341,15 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
*
* \see deselect(const QgsFeatureId)
*/
void deselect( const QgsFeatureIds &featureIds );
Q_INVOKABLE void deselect( const QgsFeatureIds &featureIds );

/**
* Clear selection
*
* \see selectByIds()
* \see reselect()
*/
void removeSelection();
Q_INVOKABLE void removeSelection();

/**
* Reselects the previous set of selected features. This is only applicable

0 comments on commit 4840601

Please sign in to comment.
You can’t perform that action at this time.