Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
make selection methods invokable in QgsVectorLayer
  • Loading branch information
3nids authored and nyalldawson committed Mar 18, 2020
1 parent d64586a commit 4840601
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/qgsvectorlayer.h
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4840601

Please sign in to comment.