Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typo and spelling
  • Loading branch information
DelazJ committed Apr 30, 2018
1 parent fca5238 commit ee417aa
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Expand Up @@ -96,17 +96,17 @@ from the XML file with a matching name.

int currentCategoryRow();
%Docstring
return row index for the currently selected category (-1 if on no selection)
Returns row index for the currently selected category (-1 if on no selection)
%End

QList<int> selectedCategories();
%Docstring
return a list of indexes for the categories unders selection
Returns a list of indexes for the categories under selection
%End

void changeSelectedSymbols();
%Docstring
change the selected symbols alone for the change button, if there is a selection
Changes the selected symbols alone for the change button, if there is a selection
%End

void changeCategorySymbol();
Expand Down
Expand Up @@ -70,7 +70,7 @@ Toggle the link between classes boundaries

QList<int> selectedClasses();
%Docstring
return a list of indexes for the classes under selection
Returns a list of indexes for the classes under selection
%End
QgsRangeList selectedRanges();

Expand Down
1 change: 1 addition & 0 deletions scripts/spell_check/spelling.dat
Expand Up @@ -6367,6 +6367,7 @@ skiped:skipped
skiping:skipping
slashs:slashes
slaugterhouses:slaughterhouses
slection:selection
slighly:slightly
sligth:slight
sligthly:slightly
Expand Down
3 changes: 1 addition & 2 deletions src/gui/symbology/qgscategorizedsymbolrendererwidget.cpp
Expand Up @@ -951,8 +951,7 @@ void QgsCategorizedSymbolRendererWidget::updateSymbolsFromWidget()
mCategorizedSymbol.reset( dlg->symbol()->clone() );

updateCategorizedSymbolIcon();

// When there is a slection, change the selected symbols alone
// When there is a selection, change the selected symbols only
QItemSelectionModel *m = viewCategories->selectionModel();
QModelIndexList i = m->selectedRows();

Expand Down
6 changes: 3 additions & 3 deletions src/gui/symbology/qgscategorizedsymbolrendererwidget.h
Expand Up @@ -163,13 +163,13 @@ class GUI_EXPORT QgsCategorizedSymbolRendererWidget : public QgsRendererWidget,
// Called by virtual refreshSymbolView()
void populateCategories();

//! return row index for the currently selected category (-1 if on no selection)
//! Returns row index for the currently selected category (-1 if on no selection)
int currentCategoryRow();

//! return a list of indexes for the categories unders selection
//! Returns a list of indexes for the categories under selection
QList<int> selectedCategories();

//! change the selected symbols alone for the change button, if there is a selection
//! Changes the selected symbols alone for the change button, if there is a selection
void changeSelectedSymbols();

void changeCategorySymbol();
Expand Down
2 changes: 1 addition & 1 deletion src/gui/symbology/qgsgraduatedsymbolrendererwidget.h
Expand Up @@ -138,7 +138,7 @@ class GUI_EXPORT QgsGraduatedSymbolRendererWidget : public QgsRendererWidget, pr

void updateGraduatedSymbolIcon();

//! return a list of indexes for the classes under selection
//! Returns a list of indexes for the classes under selection
QList<int> selectedClasses();
QgsRangeList selectedRanges();

Expand Down

0 comments on commit ee417aa

Please sign in to comment.