mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Move PaneContainerView::confirmClose to the model layer
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user