Commit 5c75a5f6 authored by yann300's avatar yann300

load previously loaded file at init

parent 159ce2d9
......@@ -379,7 +379,12 @@ var run = function () {
}
}
switchToNextFile()
var previouslyOpenedFile = config.get('currentFile')
if (previouslyOpenedFile && files.get(previouslyOpenedFile)) {
switchToFile(previouslyOpenedFile)
} else {
switchToNextFile()
}
// Synchronise tab list with file names known to the editor
function refreshTabs () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment