diff --git a/src/app.js b/src/app.js index 0cff818aac..aa0f619cd5 100644 --- a/src/app.js +++ b/src/app.js @@ -519,6 +519,8 @@ Please make a backup of your contracts and start using http://remix.ethereum.org filesProviders['browser'].get(previouslyOpenedFile, (error, content) => { if (!error && content) fileManager.switchFile(previouslyOpenedFile) }) + } else { + fileManager.switchFile() } // ----------------- Renderer -----------------