Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 16, 2019
1 parent 4c1f68d commit a97051d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/qgsmaptoollabel.cpp
Expand Up @@ -56,7 +56,7 @@ bool QgsMapToolLabel::labelAtPosition( QMouseEvent *e, QgsLabelPosition &p )
if ( labelPosList.empty() )
return false;

// prioritise labels in the current selected layer, in case of overlaps
// prioritize labels in the current selected layer, in case of overlaps
QList<QgsLabelPosition> activeLayerLabels;
if ( const QgsVectorLayer *currentLayer = qobject_cast< QgsVectorLayer * >( mCanvas->currentLayer() ) )
{
Expand Down
2 changes: 1 addition & 1 deletion tests/src/app/testqgsmaptoollabel.cpp
Expand Up @@ -155,7 +155,7 @@ class TestQgsMapToolLabel : public QObject
canvas->show();
loop.exec();

// should prioritise current layer
// should prioritize current layer
canvas->setCurrentLayer( vl1.get() );
pt = tool->canvas()->mapSettings().mapToPixel().transform( 1, 1 );
event = qgis::make_unique< QMouseEvent >(
Expand Down

0 comments on commit a97051d

Please sign in to comment.