Don't allow core:close event to bubble out of Pane

This commit is contained in:
Nathan Sobo
2013-02-21 11:30:48 -07:00
committed by probablycorey
parent 8f980a0f20
commit 2ba63e608f
2 changed files with 7 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ class Pane extends View
removeCurrentItem: =>
@removeItem(@currentItem)
false
removeItem: (item) ->
@showNextItem() if item is @currentItem and @items.length > 1