forked from qt-creator/qt-creator
Fix wrong cursor in vcs log editor
When cursor leaves a change, reset its shape and remove underline on the change. Change-Id: Idedafefc57338a32fdaa773fc4a41c0f0527a5b8 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
de0fcfaa0a
commit
7e04a679ae
@@ -952,12 +952,12 @@ void VcsBaseEditorWidget::mouseMoveEvent(QMouseEvent *e)
|
||||
handler->highlightCurrentContents();
|
||||
overrideCursor = true;
|
||||
cursorShape = Qt::PointingHandCursor;
|
||||
}
|
||||
} else {
|
||||
setExtraSelections(OtherSelection, QList<QTextEdit::ExtraSelection>());
|
||||
overrideCursor = true;
|
||||
cursorShape = Qt::IBeamCursor;
|
||||
}
|
||||
}
|
||||
TextEditor::BaseTextEditorWidget::mouseMoveEvent(e);
|
||||
|
||||
if (overrideCursor)
|
||||
|
Reference in New Issue
Block a user