forked from qt-creator/qt-creator
QmlDesigner: Move cursor to selected item
When an item is selected in the navigator we move the cursor. Change-Id: Ia6d41e4d7bdf38688cf0cd73f134c349126eb68e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -116,6 +116,7 @@ void TextEditorView::nodeIdChanged(const ModelNode& /*node*/, const QString &/*n
|
||||
void TextEditorView::selectedNodesChanged(const QList<ModelNode> &/*selectedNodeList*/,
|
||||
const QList<ModelNode> &/*lastSelectedNodeList*/)
|
||||
{
|
||||
m_widget->jumpTextCursorToSelectedModelNode();
|
||||
}
|
||||
|
||||
void TextEditorView::customNotification(const AbstractView * /*view*/, const QString &/*identifier*/, const QList<ModelNode> &/*nodeList*/, const QList<QVariant> &/*data*/)
|
||||
|
||||
Reference in New Issue
Block a user