diff --git a/CHANGELOG.md b/CHANGELOG.md index f8fde0a7..1403bd00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,13 +7,16 @@ - input: submit content when leaving focus, not only when hitting `enter` or `tab` (`esc` still cancels) - midi: prevent midi bridge from stopping when an error occurs; provide meaningfull errors when connection fails +- editor + - inspector: hitting ctrl+s while editing a property will submit the change before saving + - ui - hide the console toggle button when the bottom panel is minimized and the editor is disabled - widgets - file: add `mode` property, for choosing between `open` and `save` modes - switch: add `flip` mode - + ## 1.8.3 - bug fixes diff --git a/src/client/managers/session/index.js b/src/client/managers/session/index.js index b11af14f..5b54a07c 100644 --- a/src/client/managers/session/index.js +++ b/src/client/managers/session/index.js @@ -93,6 +93,10 @@ var SessionManager = class SessionManager { if (path) this.setSessionPath(path) + if (editor.inspector.focusedInput) { + editor.inspector.focusedInput.blur() + } + if (!this.sessionPath) return this.saveAs() ipc.send('sessionSave', {