Merge branch 'master' of github.com:Ultimaker/Cura

This commit is contained in:
Jack Ha 2017-03-22 13:24:37 +01:00
commit bd10e50249
4 changed files with 16 additions and 11 deletions

View file

@ -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 {