mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 05:19:08 +08:00
CTRL-P only works when the button is enabled
CURA-3496
This commit is contained in:
parent
94c6b23418
commit
12918b02b5
@ -79,7 +79,12 @@ Item {
|
||||
// Shortcut for "save as/print/..."
|
||||
Action {
|
||||
shortcut: "Ctrl+P"
|
||||
onTriggered: saveToButton.clicked()
|
||||
onTriggered:
|
||||
{
|
||||
// only work when the button is enabled
|
||||
if (saveToButton.enabled)
|
||||
saveToButton.clicked();
|
||||
}
|
||||
}
|
||||
|
||||
Item {
|
||||
|
Loading…
x
Reference in New Issue
Block a user