QmlDesigner: Deactivate layout shortcut for MCU

Change-Id: I80c247155aabae54b826e950e7c9a93ab75dfc47
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
Henning Gruendl
2023-09-21 17:35:03 +02:00
committed by Henning Gründl
parent 3d1f5ba8d2
commit a4b1e1ccdc

View File

@@ -1810,29 +1810,31 @@ void DesignerActionManager::createDefaultDesignerActions()
&isStackedContainerAndIndexCanBeIncreased,
&isStackedContainer));
addDesignerAction(new ModelNodeAction(
layoutRowLayoutCommandId,
addDesignerAction(
new ModelNodeAction(layoutRowLayoutCommandId,
layoutRowLayoutDisplayName,
Utils::Icon({{":/qmldesigner/icon/designeractions/images/row.png",
Utils::Theme::IconsBaseColor}}).icon(),
Utils::Theme::IconsBaseColor}})
.icon(),
layoutRowLayoutToolTip,
layoutCategory,
QKeySequence("Ctrl+u"),
2,
&layoutRowLayout,
&selectionCanBeLayoutedAndQtQuickLayoutPossible));
&selectionCanBeLayoutedAndQtQuickLayoutPossibleAndNotMCU));
addDesignerAction(new ModelNodeAction(
layoutColumnLayoutCommandId,
addDesignerAction(
new ModelNodeAction(layoutColumnLayoutCommandId,
layoutColumnLayoutDisplayName,
Utils::Icon({{":/qmldesigner/icon/designeractions/images/column.png",
Utils::Theme::IconsBaseColor}}).icon(),
Utils::Theme::IconsBaseColor}})
.icon(),
layoutColumnLayoutToolTip,
layoutCategory,
QKeySequence("Ctrl+l"),
3,
&layoutColumnLayout,
&selectionCanBeLayoutedAndQtQuickLayoutPossible));
&selectionCanBeLayoutedAndQtQuickLayoutPossibleAndNotMCU));
addDesignerAction(new ModelNodeAction(
layoutGridLayoutCommandId,