Focus preview list after expanding/collapsing all

This commit is contained in:
Kevin Sawicki
2013-02-13 22:08:30 -08:00
parent b626ce91a9
commit 59a613de73

View File

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