mirror of https://github.com/keeweb/keeweb.git
fix #707: fix discard changes
This commit is contained in:
parent
b3cd56b9c4
commit
fb12ce3a6a
|
@ -332,7 +332,10 @@ const AppView = Backbone.View.extend({
|
|||
Launcher.exit();
|
||||
}
|
||||
};
|
||||
if (Launcher && !Launcher.exitRequested) {
|
||||
if (Launcher && Launcher.exitRequested) {
|
||||
return;
|
||||
}
|
||||
if (Launcher) {
|
||||
if (!this.exitAlertShown) {
|
||||
if (this.model.settings.get('autoSave')) {
|
||||
this.saveAndLock(result => { if (result) { exit(); } });
|
||||
|
|
Loading…
Reference in New Issue