From d223da63e2bedc47095b59e2f1ed319292fd1410 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Tue, 14 Apr 2020 18:15:09 +0200 Subject: [PATCH] QmlDesigner: Reduce priority for editing anotations Editing annotations is possible using the context menu. We can keep it as the default on double click, but it should have lower priority than other tools. Change-Id: I6cd51074460c5f32030e9d799abda4a198036409 Reviewed-by: Tim Jenssen --- .../qmldesigner/components/annotationeditor/annotationtool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/annotationeditor/annotationtool.cpp b/src/plugins/qmldesigner/components/annotationeditor/annotationtool.cpp index 7cb0bdfa19f..9db5d0d81c3 100644 --- a/src/plugins/qmldesigner/components/annotationeditor/annotationtool.cpp +++ b/src/plugins/qmldesigner/components/annotationeditor/annotationtool.cpp @@ -201,7 +201,7 @@ void AnnotationTool::formEditorItemsChanged(const QList & /*ite int AnnotationTool::wantHandleItem(const ModelNode & /*modelNode*/) const { - return 10; + return 5; } QString AnnotationTool::name() const