mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Clear conflict when the buffer is saved
This commit is contained in:
@@ -196,6 +196,7 @@ class TextBuffer extends TextBufferCore
|
||||
@setPath(path)
|
||||
@cachedDiskContents = @getText()
|
||||
@file.write(@getText())
|
||||
@conflict = false
|
||||
@emitModifiedStatusChanged(false)
|
||||
@emit 'saved', this
|
||||
|
||||
|
||||
Reference in New Issue
Block a user