mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Focus most-recently active editor pane when file finder closes.
This commit is contained in:
@@ -109,7 +109,7 @@ class RootView extends View
|
||||
if @fileFinder and @fileFinder.parent()[0]
|
||||
@fileFinder.remove()
|
||||
@fileFinder = null
|
||||
@editor.focus()
|
||||
@focusLastActiveEditor()
|
||||
else
|
||||
@project.getFilePaths().done (paths) =>
|
||||
relativePaths = (path.replace(@project.url, "") for path in paths)
|
||||
|
||||
Reference in New Issue
Block a user