Skip to content
Snippets Groups Projects
Commit 2b3d38b4 authored by jkobus's avatar jkobus Committed by Jarek Kobus
Browse files

DiffEditor: double click doesn't select the current word


Task-number: QTCREATORBUG-9381

Change-Id: Icc96c31b029d978c23a44fca59bcc28891fd92c6
Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
parent f621ee5b
No related branches found
No related tags found
No related merge requests found
......@@ -418,6 +418,8 @@ void DiffViewEditorWidget::mouseDoubleClickEvent(QMouseEvent *e)
if (e->button() == Qt::LeftButton && !(e->modifiers() & Qt::ShiftModifier)) {
QTextCursor cursor = cursorForPosition(e->pos());
jumpToOriginalFile(cursor);
e->accept();
return;
}
SnippetEditorWidget::mouseDoubleClickEvent(e);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment