mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Forward focus to selected file on focus events
This commit is contained in:
@@ -19,6 +19,10 @@ class ArchiveView extends ScrollView
|
||||
|
||||
@setModel(editSession)
|
||||
|
||||
@on 'focus', =>
|
||||
@focusSelectedFile()
|
||||
false
|
||||
|
||||
setPath: (path) ->
|
||||
return unless path?
|
||||
return if @path is path
|
||||
|
||||
Reference in New Issue
Block a user