Commit 258a212d authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlOutline: Center cursor

Do the same as in CppOutline
parent 358890c2
......@@ -167,6 +167,7 @@ void QmlJSOutlineWidget::updateSelectionInText(const QItemSelection &selection)
m_blockCursorSync = true;
textCursor.setPosition(location.offset);
m_editor.data()->setTextCursor(textCursor);
m_editor.data()->centerCursor();
m_blockCursorSync = false;
}
}
......
Markdown is supported
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