Skip to content

Commit

Permalink
Fix return type issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsunni authored and nyalldawson committed Apr 24, 2023
1 parent 46538ce commit 01e7a71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions python/gui/auto_generated/qgsfieldmappingwidget.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,11 @@ Moves up currently selected field
Moves down the currently selected field
%End

bool invertSelection( );
void invertSelection( );
%Docstring
Invert the field selection state
Invert the field selection state.

.. versionadded:: 3.32
%End

};
Expand Down
3 changes: 1 addition & 2 deletions src/gui/qgsfieldmappingwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ bool QgsFieldMappingWidget::removeSelectedFields()
return true;
}

bool QgsFieldMappingWidget::invertSelection()
void QgsFieldMappingWidget::invertSelection()
{
for ( int i = 0; i < mTableView->model()->rowCount(); ++i )
{
Expand All @@ -158,7 +158,6 @@ bool QgsFieldMappingWidget::invertSelection()
mTableView->selectionModel()->select( index, QItemSelectionModel::Toggle );
}
}
return true;
}

bool QgsFieldMappingWidget::moveSelectedFieldsUp()
Expand Down

0 comments on commit 01e7a71

Please sign in to comment.