mirror of https://github.com/keeweb/keeweb.git
fix #95: unlock by opening settings
This commit is contained in:
parent
3272cd2553
commit
d5fedb8d97
|
@ -121,6 +121,7 @@ var AppModel = Backbone.Model.extend({
|
||||||
this.menu.filesSection.removeAllItems();
|
this.menu.filesSection.removeAllItems();
|
||||||
this.tags.splice(0, this.tags.length);
|
this.tags.splice(0, this.tags.length);
|
||||||
this.filter = {};
|
this.filter = {};
|
||||||
|
this.refresh();
|
||||||
},
|
},
|
||||||
|
|
||||||
closeFile: function(file) {
|
closeFile: function(file) {
|
||||||
|
|
|
@ -455,7 +455,11 @@ var AppView = Backbone.View.extend({
|
||||||
}
|
}
|
||||||
if (this.views.settings) {
|
if (this.views.settings) {
|
||||||
if (this.views.settings.page === page || !menuItem) {
|
if (this.views.settings.page === page || !menuItem) {
|
||||||
this.showEntries();
|
if (this.model.files.hasOpenFiles()) {
|
||||||
|
this.showEntries();
|
||||||
|
} else {
|
||||||
|
this.showLastOpenFile();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (menuItem) {
|
if (menuItem) {
|
||||||
this.model.menu.select({item: menuItem});
|
this.model.menu.select({item: menuItem});
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
Release notes
|
Release notes
|
||||||
-------------
|
-------------
|
||||||
|
##### v1.0.3 (TBD)
|
||||||
|
Hotfix
|
||||||
|
`-` #92: save files on exit
|
||||||
|
`-` #95: unlock by opening settings
|
||||||
|
|
||||||
##### v1.0.2 (2016-02-17)
|
##### v1.0.2 (2016-02-17)
|
||||||
Hotfix
|
Hotfix
|
||||||
`-` #80: dragdrop bug
|
`-` #80: dragdrop bug
|
||||||
|
|
Loading…
Reference in New Issue