Focus most-recently active editor pane when file finder closes.

This commit is contained in:
Nathan Sobo
2012-03-20 15:11:34 -06:00
parent adf8d5df9d
commit 965e66ffd4
2 changed files with 15 additions and 12 deletions

View File

@@ -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)