client: add noWarning option
This commit is contained in:
parent
91fb688d9d
commit
27e3e6f1b3
3 changed files with 7 additions and 1 deletions
|
|
@ -1024,7 +1024,9 @@ class Editor {
|
|||
|
||||
pushHistory(indexes) {
|
||||
|
||||
this.unsavedSession = true
|
||||
if (!ENV.noWarning) {
|
||||
this.unsavedSession = true
|
||||
}
|
||||
|
||||
if (this.historyState > -1) {
|
||||
this.history.splice(0, this.historyState + 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue