Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Spelling
  • Loading branch information
nyalldawson committed Sep 20, 2017
1 parent ef97063 commit a67dab5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions python/core/qgsdataitem.sip
Expand Up @@ -157,8 +157,8 @@ Create new data item.
virtual bool handleDoubleClick();
%Docstring
Called when a user double clicks on the item. Subclasses should return true
if they have implemented a double click handler and do not want the default
double click behaviour for items.
if they have implemented a double-click handler and do not want the default
double-click behavior for items.
.. versionadded:: 3.0
:rtype: bool
%End
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsdataitem.h
Expand Up @@ -158,8 +158,8 @@ class CORE_EXPORT QgsDataItem : public QObject

/**
* Called when a user double clicks on the item. Subclasses should return true
* if they have implemented a double click handler and do not want the default
* double click behaviour for items.
* if they have implemented a double-click handler and do not want the default
* double-click behavior for items.
* \since QGIS 3.0
*/
virtual bool handleDoubleClick();
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsbrowserdockwidget.cpp
Expand Up @@ -164,7 +164,7 @@ void QgsBrowserDockWidget::itemDoubleClicked( const QModelIndex &index )
if ( item->handleDoubleClick() )
return;
else
addLayerAtIndex( index ); // default double click handler
addLayerAtIndex( index ); // default double-click handler
}

void QgsBrowserDockWidget::showContextMenu( QPoint pt )
Expand Down

0 comments on commit a67dab5

Please sign in to comment.