From c86dadc8e76bc34f05bacb821708d5747bf4eafe Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 7 Feb 2018 13:57:35 +0100 Subject: [PATCH] readd switchfile --- src/app.js | 2 ++ 1 file changed, 2 insertions(+) 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 -----------------