From 901f6c4b6318eb7e12c4fc826978eda941f7af0c Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 17 Jan 2022 15:06:32 +0100 Subject: [PATCH] Fix ctrl+shift+s shortcut --- resources/qml/Menus/SaveProjectMenu.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/qml/Menus/SaveProjectMenu.qml b/resources/qml/Menus/SaveProjectMenu.qml index 1b30546a89..2d59c593c0 100644 --- a/resources/qml/Menus/SaveProjectMenu.qml +++ b/resources/qml/Menus/SaveProjectMenu.qml @@ -40,9 +40,7 @@ Cura.Menu UM.OutputDeviceManager.requestWriteToDevice(model.id, PrintInformation.jobName, args) } } - // Unassign the shortcuts when the submenu is invisible (i.e. when there is only one project output device) to avoid ambiguous shortcuts. - // When there is only the LocalFileOutputDevice, the Ctrl+S shortcut is assigned to the saveWorkspaceMenu MenuItem - shortcut: saveProjectMenu.visible ? model.shortcut : "" + shortcut: model.shortcut } onObjectAdded: saveProjectMenu.insertItem(index, object) onObjectRemoved: saveProjectMenu.removeItem(object)