Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
spelling and minor fixes
  • Loading branch information
vcloarec committed Nov 25, 2020
1 parent 735329a commit 30446ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/app/qgsmaptoolselect.cpp
Expand Up @@ -143,6 +143,7 @@ QgsMapTool::Flags QgsMapToolSelect::flags() const

bool QgsMapToolSelect::populateContextMenuWithEvent( QMenu *menu, QgsMapMouseEvent *event )
{
Q_ASSERT( menu );
menu->addSeparator();
QgsVectorLayer *vlayer = QgsMapToolSelectUtils::getCurrentVectorLayer( mCanvas );

Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsmaptoolselectutils.cpp
Expand Up @@ -372,7 +372,7 @@ QgsMapToolSelectUtils::QgsMapToolSelectMenuActions::~QgsMapToolSelectMenuActions

void QgsMapToolSelectUtils::QgsMapToolSelectMenuActions::populateMenu( QMenu *menu )
{
mActionChooseAll = new QAction( textForChooseAll(), menu );
mActionChooseAll = new QAction( textForChooseAll(), this );
menu->addAction( mActionChooseAll );
connect( mActionChooseAll, &QAction::triggered, this, &QgsMapToolSelectMenuActions::chooseAllCandidateFeature );
mMenuChooseOne = new QMenu( textForChooseOneMenu() );
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsmaptoolselectutils.h
Expand Up @@ -147,7 +147,7 @@ namespace QgsMapToolSelectUtils

/**
* Populates the \a menu with "All Feature" action and a empty menu that could contain later the "One Feature" actions
* Starts the search for canditate features to be selected on an other thread, actions/menus will be updated at the end of this task
* Starts the search for canditate features to be selected on another thread, actions/menus will be updated at the end of this task
*/
void populateMenu( QMenu *menu );

Expand Down

0 comments on commit 30446ef

Please sign in to comment.