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:
Thomas Hartmann
2017-01-04 14:19:52 +01:00
parent e540f2eda5
commit c27d7c00d6
3 changed files with 26 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ public:
}
QString contextHelpId() const;
void jumpTextCursorToSelectedModelNode();
private:
void updateSelectionByCursorPosition();