fixed error on open

This commit is contained in:
antelle 2017-12-07 18:46:46 +01:00
parent 759134c85b
commit 349320c80d
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@ const AppModel = Backbone.Model.extend({
needLoadKeyFile = true;
}
}
} else if (!params.keyFileData && !fileInfo) {
} else if (params.keyFilePath && !params.keyFileData && !fileInfo) {
needLoadKeyFile = true;
}
const file = new FileModel({