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 <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2020-04-14 18:15:09 +02:00
parent eb82d396e3
commit d223da63e2

View File

@@ -201,7 +201,7 @@ void AnnotationTool::formEditorItemsChanged(const QList<FormEditorItem*> & /*ite
int AnnotationTool::wantHandleItem(const ModelNode & /*modelNode*/) const
{
return 10;
return 5;
}
QString AnnotationTool::name() const