diff options
Diffstat (limited to 'src/view/FilesAppIntegration.js')
-rw-r--r-- | src/view/FilesAppIntegration.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view/FilesAppIntegration.js b/src/view/FilesAppIntegration.js index da5c0a8f..993a836f 100644 --- a/src/view/FilesAppIntegration.js +++ b/src/view/FilesAppIntegration.js @@ -119,6 +119,9 @@ export default { if (this.fileModel !== null) { return this.fileModel } + if (!this.getFileList()) { + return null + } this.getFileList()._updateDetailsView(this.fileName, false) this.fileModel = this.getFileList().getModelForFile(this.fileName) |