From 7dc18765adaf14967516b043559dca57de0abbdd Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 21 Nov 2013 11:29:05 -0800 Subject: [PATCH] Call serializeForPersistence instead of serialize --- src/atom.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atom.coffee b/src/atom.coffee index b3d2d3bf7..3c4cc2699 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -273,7 +273,7 @@ class Atom if windowStatePath = @getWindowStatePath() windowState.saveSync(windowStatePath) else - @getCurrentWindow().loadSettings.windowState = JSON.stringify(windowState.serialize()) + @getCurrentWindow().loadSettings.windowState = JSON.stringify(windowState.serializeForPersistence()) getWindowState: (keyPath) -> @windowState ?= @loadWindowState()