Commit 2641496a authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Fixed line select in gutter when text marks are not visible

The ProjectFilesEditor used for editing the generic project's files does
not show text marks, which broke the line select in the gutter.

Task-number: QTCREATORBUG-1238
Reviewed-by: mae
parent 8b806c4d
......@@ -3557,7 +3557,7 @@ void BaseTextEditor::extraAreaMouseEvent(QMouseEvent *e)
} else if (d->m_marksVisible && e->pos().x() > markWidth) {
} else if (e->pos().x() > markWidth) {
QTextCursor selection = cursor;
d->extraAreaSelectionAnchorBlockNumber = selection.blockNumber();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment