QmlDesigner: Adjust priority of template merger

Task-number: QDS-2488
Change-Id: Iac6fc179e2c28fe59c9db7e09f4989c548b3249c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2020-07-08 18:40:06 +02:00
parent 53b4d6975d
commit 9410c7a575

View File

@@ -1263,13 +1263,12 @@ void DesignerActionManager::createDefaultDesignerActions()
&singleSelection, &singleSelection,
&singleSelection)); &singleSelection));
addDesignerAction(new ModelNodeContextMenuAction( addDesignerAction(new ModelNodeContextMenuAction(mergeTemplateCommandId,
mergeTemplateCommandId,
mergeTemplateDisplayName, mergeTemplateDisplayName,
{}, {},
rootCategory, rootCategory,
{}, {},
30, 50,
&mergeWithTemplate, &mergeWithTemplate,
&SelectionContextFunctors::always)); &SelectionContextFunctors::always));