mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Always set pathToOpen in RootView.initialize
Without this an untitled buffer will be opened when Atom is reopened after being closed with no editors open.
This commit is contained in:
@@ -49,6 +49,7 @@ class RootView extends View
|
||||
@project = new Project(projectOrPathToOpen)
|
||||
else
|
||||
@project = projectOrPathToOpen
|
||||
pathToOpen = @project?.getPath()
|
||||
@pathToOpenIsFile = pathToOpen and fs.isFile(pathToOpen)
|
||||
|
||||
config.load()
|
||||
|
||||
Reference in New Issue
Block a user