Browse Source

Added workspace save option to menu

CURA-1263
Jaime van Kessel 8 years ago
parent
commit
f57a17577f
1 changed files with 6 additions and 0 deletions
  1. 6 0
      resources/qml/Cura.qml

+ 6 - 0
resources/qml/Cura.qml

@@ -107,6 +107,12 @@ UM.MainWindow
                         onObjectRemoved: saveAllMenu.removeItem(object)
                     }
                 }
+                MenuItem
+                {
+                    id: saveWorkspaceMenu
+                    text: catalog.i18nc("@title:menu menubar:file","Save Workspace")
+                    onTriggered: UM.OutputDeviceManager.requestWriteToDevice("local_file", PrintInformation.jobName, { "filter_by_machine": false, "file_type": "workspace" });
+                }
 
                 MenuItem { action: Cura.Actions.reloadAll; }