saving with satus bar notification

This commit is contained in:
Luis Fernando Molina committed 2020-03-27 18:58:11 +01:00
1 parent 3b0dd95a7b
commit b311378b44
2 files changed
+43 -7

No files matched your search

+1
View File
@@ -276,6 +276,7 @@ function newCanvas () {
if (event.shiftKey === true && (event.ctrlKey === true || event.metaKey === true) && (event.key === 'S' || event.key === 's')) {
canvas.designSpace.workspace.save()
canvas.cockpitSpace.setStatus('Workspace Saved.', 50, canvas.cockpitSpace.statusTypes.ALL_GOOD)
event.preventDefault()
return
}