forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user