Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 26, 2023
1 parent 29b3919 commit 346c77b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -69,7 +69,7 @@ create the node's content.
%Docstring
Called when the node is double-clicked. The default implementation does nothing.

Returns ``True`` if the node handled the double click event and it should not
Returns ``True`` if the node handled the double-click event and it should not
be further processed.
%End

Expand Down
2 changes: 1 addition & 1 deletion src/gui/history/qgshistoryentrynode.h
Expand Up @@ -91,7 +91,7 @@ class GUI_EXPORT QgsHistoryEntryNode
/**
* Called when the node is double-clicked. The default implementation does nothing.
*
* Returns TRUE if the node handled the double click event and it should not
* Returns TRUE if the node handled the double-click event and it should not
* be further processed.
*/
virtual bool doubleClicked( const QgsHistoryWidgetContext &context );
Expand Down
2 changes: 1 addition & 1 deletion src/gui/history/qgshistorywidget.cpp
Expand Up @@ -99,7 +99,7 @@ void QgsHistoryWidget::nodeDoubleClicked( const QModelIndex &index )
if ( QgsHistoryEntryNode *node = mModel->index2node( mProxyModel->mapToSource( index ) ) )
{
if ( node->doubleClicked( mContext ) )
return; // double click handled
return; // double-click handled
}

// otherwise double-clicks expands/collapses the node
Expand Down

0 comments on commit 346c77b

Please sign in to comment.