Update initialPath on project path changes

atom.setPathToOpen() is now longer available and instead
the load settings should be updated.
This commit is contained in:
Kevin Sawicki
2013-06-24 10:41:29 -07:00
parent d31d18360b
commit 6879f0d0ac

View File

@@ -127,7 +127,7 @@ window.deserializeEditorWindow = ->
window.git = Git.open(project.getPath())
project.on 'path-changed', ->
projectPath = project.getPath()
atom.setPathToOpen(projectPath)
atom.getLoadSettings().initialPath = projectPath
window.git?.destroy()
window.git = Git.open(projectPath)