From 4cba8ab48f7366f0c888f9b55caee470d8fd97d7 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki & Nathan Sobo Date: Mon, 22 Jul 2013 18:39:32 -0700 Subject: [PATCH] Serialize project when editor window is unloaded --- src/app/window.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/window.coffee b/src/app/window.coffee index 1eacc7746..cd6a71993 100644 --- a/src/app/window.coffee +++ b/src/app/window.coffee @@ -77,6 +77,7 @@ window.startConfigWindow = -> window.unloadEditorWindow = -> return if not project and not rootView windowState = atom.getWindowState() + windowState.set('project', project.serialize()) windowState.set('syntax', syntax.serialize()) windowState.set('rootView', rootView.serialize()) atom.deactivatePackages()