mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 21:45:51 +08:00
Add keyboard shortcuts for grouping/ungrouping
Contributes (in a way) to CURA-1054, \sa CURA-1531
This commit is contained in:
parent
9f2e87fdcb
commit
7c154c78bf
@ -176,6 +176,7 @@ Item
|
|||||||
text: catalog.i18nc("@action:inmenu menubar:edit","&Group Objects");
|
text: catalog.i18nc("@action:inmenu menubar:edit","&Group Objects");
|
||||||
enabled: UM.Scene.numObjectsSelected > 1 ? true: false
|
enabled: UM.Scene.numObjectsSelected > 1 ? true: false
|
||||||
iconName: "object-group"
|
iconName: "object-group"
|
||||||
|
shortcut: "Ctrl+G";
|
||||||
}
|
}
|
||||||
|
|
||||||
Action
|
Action
|
||||||
@ -184,6 +185,7 @@ Item
|
|||||||
text: catalog.i18nc("@action:inmenu menubar:edit","Ungroup Objects");
|
text: catalog.i18nc("@action:inmenu menubar:edit","Ungroup Objects");
|
||||||
enabled: UM.Scene.isGroupSelected
|
enabled: UM.Scene.isGroupSelected
|
||||||
iconName: "object-ungroup"
|
iconName: "object-ungroup"
|
||||||
|
shortcut: "Ctrl+Shift+G";
|
||||||
}
|
}
|
||||||
|
|
||||||
Action
|
Action
|
||||||
@ -192,6 +194,7 @@ Item
|
|||||||
text: catalog.i18nc("@action:inmenu menubar:edit","&Merge Objects");
|
text: catalog.i18nc("@action:inmenu menubar:edit","&Merge Objects");
|
||||||
enabled: UM.Scene.numObjectsSelected > 1 ? true: false
|
enabled: UM.Scene.numObjectsSelected > 1 ? true: false
|
||||||
iconName: "merge";
|
iconName: "merge";
|
||||||
|
shortcut: "Ctrl+Alt+G";
|
||||||
}
|
}
|
||||||
|
|
||||||
Action
|
Action
|
||||||
|
@ -680,6 +680,7 @@ UM.MainWindow
|
|||||||
MenuItem { action: actions.reloadAll; }
|
MenuItem { action: actions.reloadAll; }
|
||||||
MenuItem { action: actions.resetAllTranslation; }
|
MenuItem { action: actions.resetAllTranslation; }
|
||||||
MenuItem { action: actions.resetAll; }
|
MenuItem { action: actions.resetAll; }
|
||||||
|
MenuSeparator { }
|
||||||
MenuItem { action: actions.groupObjects; }
|
MenuItem { action: actions.groupObjects; }
|
||||||
MenuItem { action: actions.mergeObjects; }
|
MenuItem { action: actions.mergeObjects; }
|
||||||
MenuItem { action: actions.unGroupObjects; }
|
MenuItem { action: actions.unGroupObjects; }
|
||||||
@ -692,6 +693,7 @@ UM.MainWindow
|
|||||||
MenuItem { action: actions.reloadAll; }
|
MenuItem { action: actions.reloadAll; }
|
||||||
MenuItem { action: actions.resetAllTranslation; }
|
MenuItem { action: actions.resetAllTranslation; }
|
||||||
MenuItem { action: actions.resetAll; }
|
MenuItem { action: actions.resetAll; }
|
||||||
|
MenuSeparator { }
|
||||||
MenuItem { action: actions.groupObjects; }
|
MenuItem { action: actions.groupObjects; }
|
||||||
MenuItem { action: actions.mergeObjects; }
|
MenuItem { action: actions.mergeObjects; }
|
||||||
MenuItem { action: actions.unGroupObjects; }
|
MenuItem { action: actions.unGroupObjects; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user