mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Don't save window state when closing spec windows
This commit is contained in:
@@ -104,7 +104,7 @@ class AtomApplication
|
||||
if process.platform in ['win32', 'linux']
|
||||
app.quit()
|
||||
return
|
||||
@saveState()
|
||||
@saveState() unless window.isSpec
|
||||
|
||||
# Public: Adds the {AtomWindow} to the global window list.
|
||||
addWindow: (window) ->
|
||||
|
||||
Reference in New Issue
Block a user