Merge branch 'master' into dh-async-repo

This commit is contained in:
joshaber
2015-12-09 15:44:45 -05:00
8 changed files with 58 additions and 21 deletions

View File

@@ -677,7 +677,7 @@ class TextEditor extends Model
# this editor.
shouldPromptToSave: ({windowCloseRequested}={}) ->
if windowCloseRequested
@isModified()
false
else
@isModified() and not @buffer.hasMultipleEditors()