mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Focus preview list after expanding/collapsing all
This commit is contained in:
@@ -98,9 +98,11 @@ class CommandPanelView extends View
|
|||||||
|
|
||||||
onExpandAll: (event) =>
|
onExpandAll: (event) =>
|
||||||
@previewList.expandAllPaths()
|
@previewList.expandAllPaths()
|
||||||
|
@previewList.focus()
|
||||||
|
|
||||||
onCollapseAll: (event) =>
|
onCollapseAll: (event) =>
|
||||||
@previewList.collapseAllPaths()
|
@previewList.collapseAllPaths()
|
||||||
|
@previewList.focus()
|
||||||
|
|
||||||
attach: (text='', options={}) ->
|
attach: (text='', options={}) ->
|
||||||
@errorMessages.hide()
|
@errorMessages.hide()
|
||||||
|
|||||||
Reference in New Issue
Block a user