mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:59:02 +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/..."
|
// Shortcut for "save as/print/..."
|
||||||
Action {
|
Action {
|
||||||
shortcut: "Ctrl+P"
|
shortcut: "Ctrl+P"
|
||||||
onTriggered: saveToButton.clicked()
|
onTriggered:
|
||||||
|
{
|
||||||
|
// only work when the button is enabled
|
||||||
|
if (saveToButton.enabled)
|
||||||
|
saveToButton.clicked();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user