Destroy the pane completely on 'pane:close' (not just its items)

This commit is contained in:
Nathan Sobo
2014-01-15 04:34:13 -07:00
parent 012363a785
commit ca71bf224b

View File

@@ -76,7 +76,7 @@ class PaneView extends View
@command 'pane:split-right', => @splitRight(@copyActiveItem())
@command 'pane:split-up', => @splitUp(@copyActiveItem())
@command 'pane:split-down', => @splitDown(@copyActiveItem())
@command 'pane:close', => @destroyItems()
@command 'pane:close', => @model.destroy()
@command 'pane:close-other-items', => @destroyInactiveItems()
# Deprecated: Use ::destroyItem