mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Show unresponsive message dialog as sheet.
This commit is contained in:
@@ -23,7 +23,7 @@ class AtomWindow
|
||||
global.atomApplication.removeWindow(this)
|
||||
|
||||
@browserWindow.on 'unresponsive', =>
|
||||
chosen = dialog.showMessageBox
|
||||
chosen = dialog.showMessageBox @browserWindow,
|
||||
type: 'warning'
|
||||
buttons: ['Close', 'Keep Waiting']
|
||||
message: 'Editor window is frozen'
|
||||
|
||||
Reference in New Issue
Block a user