remote control: ignore unsaved changes on /SESSION/CREATE
This commit is contained in:
parent
ed6489a794
commit
c06107a07f
2 changed files with 3 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ Save state session to `path.state`.
|
|||
|
||||
#### `/SESSION/CREATE`
|
||||
|
||||
Create a new empty session
|
||||
Create a new empty session. Unsaved changes will be lost.
|
||||
|
||||
----
|
||||
#### `/SESSION/OPEN path.json`
|
||||
|
|
|
|||
|
|
@ -266,6 +266,8 @@ var callbacks = {
|
|||
},
|
||||
'/SESSION/CREATE': function(args) {
|
||||
|
||||
editor.unsavedSession = false
|
||||
|
||||
sessionManager.create()
|
||||
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue