mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Spelling
This commit is contained in:
parent
ef97063029
commit
a67dab52d2
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user