mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Spelling
This commit is contained in:
parent
ef97063029
commit
a67dab52d2
@ -157,8 +157,8 @@ Create new data item.
|
|||||||
virtual bool handleDoubleClick();
|
virtual bool handleDoubleClick();
|
||||||
%Docstring
|
%Docstring
|
||||||
Called when a user double clicks on the item. Subclasses should return true
|
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
|
if they have implemented a double-click handler and do not want the default
|
||||||
double click behaviour for items.
|
double-click behavior for items.
|
||||||
.. versionadded:: 3.0
|
.. versionadded:: 3.0
|
||||||
:rtype: bool
|
:rtype: bool
|
||||||
%End
|
%End
|
||||||
|
@ -158,8 +158,8 @@ class CORE_EXPORT QgsDataItem : public QObject
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when a user double clicks on the item. Subclasses should return true
|
* 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
|
* if they have implemented a double-click handler and do not want the default
|
||||||
* double click behaviour for items.
|
* double-click behavior for items.
|
||||||
* \since QGIS 3.0
|
* \since QGIS 3.0
|
||||||
*/
|
*/
|
||||||
virtual bool handleDoubleClick();
|
virtual bool handleDoubleClick();
|
||||||
|
@ -164,7 +164,7 @@ void QgsBrowserDockWidget::itemDoubleClicked( const QModelIndex &index )
|
|||||||
if ( item->handleDoubleClick() )
|
if ( item->handleDoubleClick() )
|
||||||
return;
|
return;
|
||||||
else
|
else
|
||||||
addLayerAtIndex( index ); // default double click handler
|
addLayerAtIndex( index ); // default double-click handler
|
||||||
}
|
}
|
||||||
|
|
||||||
void QgsBrowserDockWidget::showContextMenu( QPoint pt )
|
void QgsBrowserDockWidget::showContextMenu( QPoint pt )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user