diff --git a/source/plugins/projects/projects/index.js b/source/plugins/projects/projects/index.js index ff824d81..fbed3cdd 100644 --- a/source/plugins/projects/projects/index.js +++ b/source/plugins/projects/projects/index.js @@ -1202,10 +1202,10 @@ let projects = { let project = studio.settings.loadValue('projects', 'currentProject', null); let file = studio.settings.loadValue('projects', 'currentFile', null); - if (project !== {} && project !== null) { + if (project !== null) { if(await studio.filesystem.pathExists(project.folder)) { if(await this.selectCurrentProject(project, false)) { - if (file !== {} && file !== null) { + if (file !== null) { await this.changeFile(project,file); } }