fix cmd-o

This commit is contained in:
antelle 2016-04-07 19:36:34 +03:00
parent ba66c69235
commit bd0c5a498c
1 changed files with 3 additions and 1 deletions

View File

@ -243,7 +243,9 @@ var AppView = Backbone.View.extend({
toggleOpenFile: function() {
if (this.views.open) {
this.showEntries();
if (this.model.files.hasOpenFiles()) {
this.showEntries();
}
} else {
this.showOpenFile();
}