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,15 +1263,14 @@ void DesignerActionManager::createDefaultDesignerActions()
&singleSelection,
&singleSelection));
addDesignerAction(new ModelNodeContextMenuAction(
mergeTemplateCommandId,
mergeTemplateDisplayName,
{},
rootCategory,
{},
30,
&mergeWithTemplate,
&SelectionContextFunctors::always));
addDesignerAction(new ModelNodeContextMenuAction(mergeTemplateCommandId,
mergeTemplateDisplayName,
{},
rootCategory,
{},
50,
&mergeWithTemplate,
&SelectionContextFunctors::always));
addDesignerAction(new ActionGroup(
"",