Skip to content
Permalink
Browse files

Spelling

  • Loading branch information
nyalldawson committed Sep 20, 2017
1 parent ef97063 commit a67dab52d2f4b02ee72d962ff9a7d2139b25bc85
Showing with 5 additions and 5 deletions.
  1. +2 −2 python/core/qgsdataitem.sip
  2. +2 −2 src/core/qgsdataitem.h
  3. +1 −1 src/gui/qgsbrowserdockwidget.cpp
@@ -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
@@ -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();
@@ -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 )

0 comments on commit a67dab5

Please sign in to comment.
You can’t perform that action at this time.