mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
getEditSessions instead of registering a callback
This commit is contained in:
@@ -147,9 +147,7 @@ class FuzzyFinderView extends SelectList
|
||||
@loadPathsTask.start()
|
||||
|
||||
populateOpenBufferPaths: ->
|
||||
editSessions = []
|
||||
rootView.eachEditSession (editSession) ->
|
||||
editSessions.push editSession
|
||||
editSessions = rootView.project.getEditSessions()
|
||||
|
||||
editSessions = _.sortBy editSessions, (editSession) =>
|
||||
if editSession is rootView.getActiveEditSession()
|
||||
|
||||
Reference in New Issue
Block a user