Move PaneContainerView::confirmClose to the model layer

This commit is contained in:
Nathan Sobo
2014-09-24 15:46:01 -06:00
parent 3e0477ffcb
commit 1c58438124
9 changed files with 48 additions and 38 deletions

View File

@@ -348,7 +348,7 @@ class WorkspaceView extends View
# Prompts to save all unsaved items
confirmClose: ->
@panes.confirmClose()
@model.confirmClose()
# Updates the application's title and proxy icon based on whichever file is
# open.