inspector: hitting ctrl+s while editing a property will submit the change before saving
This commit is contained in:
parent
419cb7b3ab
commit
491c0ec687
2 changed files with 8 additions and 1 deletions
|
|
@ -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', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue