kopia lustrzana https://github.com/backface/turtlestitch
set "unsavedEdits" flag to true when restoring a backup
rodzic
c43aee639e
commit
387c96f421
|
|
@ -2711,7 +2711,10 @@ IDE_Morph.prototype.restore = function () {
|
|||
if (localStorage['-snap-bakuser-'] == username) { // null == undefined
|
||||
bak = localStorage['-snap-backup-'];
|
||||
if (bak) {
|
||||
this.backup(() => this.openProjectString(bak));
|
||||
this.backup(() => {
|
||||
this.openProjectString(bak);
|
||||
this.hasUnsavedEdits = true;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue