load previously loaded file at init

pull/1/head
yann300 8 years ago
parent 159ce2d914
commit 5c75a5f6da
  1. 7
      src/app.js

@ -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 () {

Loading…
Cancel
Save