mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Give EditSessions a chance to render before displaying alerts
This commit is contained in:
@@ -455,7 +455,7 @@ class Editor extends View
|
||||
@resetDisplay()
|
||||
|
||||
if @attached and @activeEditSession.buffer.isInConflict()
|
||||
@showBufferConflictAlert(@activeEditSession)
|
||||
setTimeout(( =>@showBufferConflictAlert(@activeEditSession)), 0) # Display after editSession has a chance to display
|
||||
|
||||
showBufferConflictAlert: (editSession) ->
|
||||
atom.confirm(
|
||||
|
||||
Reference in New Issue
Block a user