mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Multiply dialog now has focus on #, added shortcut Ctrl-M
This commit is contained in:
parent
51b76acc6d
commit
0b0011fc88
2 changed files with 7 additions and 0 deletions
|
@ -205,6 +205,7 @@ Item
|
|||
text: catalog.i18ncp("@action:inmenu menubar:edit", "Multiply Selected Model", "Multiply Selected Models", UM.Selection.selectionCount);
|
||||
enabled: UM.Controller.toolsEnabled && UM.Selection.hasSelection;
|
||||
iconName: "edit-duplicate";
|
||||
shortcut: "Ctrl+M"
|
||||
}
|
||||
|
||||
Action
|
||||
|
|
6
resources/qml/Menus/ContextMenu.qml
Normal file → Executable file
6
resources/qml/Menus/ContextMenu.qml
Normal file → Executable file
|
@ -93,6 +93,11 @@ Menu
|
|||
copiesField.focus = true;
|
||||
}
|
||||
|
||||
onVisibleChanged:
|
||||
{
|
||||
copiesField.forceActiveFocus();
|
||||
}
|
||||
|
||||
standardButtons: StandardButton.Ok | StandardButton.Cancel
|
||||
|
||||
Row
|
||||
|
@ -108,6 +113,7 @@ Menu
|
|||
SpinBox
|
||||
{
|
||||
id: copiesField
|
||||
focus: true
|
||||
minimumValue: 1
|
||||
maximumValue: 99
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue