mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Update loadSettingsJSON when paths change, fixed #13933
This commit is contained in:
@@ -309,6 +309,8 @@ class AtomWindow
|
||||
|
||||
setRepresentedDirectoryPaths: (@representedDirectoryPaths) ->
|
||||
@representedDirectoryPaths.sort()
|
||||
@loadSettings.initialPaths = @representedDirectoryPaths
|
||||
@browserWindow.loadSettingsJSON = JSON.stringify(@loadSettings)
|
||||
@atomApplication.saveState()
|
||||
|
||||
copy: -> @browserWindow.copy()
|
||||
|
||||
Reference in New Issue
Block a user