From b22d94450c2e90d785dec65ab7b3db1eeb69ba7d Mon Sep 17 00:00:00 2001 From: Seongjae Lee Date: Sun, 3 Jul 2016 01:31:40 -0700 Subject: [PATCH] Use note watcher's save/load functionality --- lib/notational-velocity-view.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/notational-velocity-view.coffee b/lib/notational-velocity-view.coffee index 1ba38dd..bda7191 100644 --- a/lib/notational-velocity-view.coffee +++ b/lib/notational-velocity-view.coffee @@ -115,6 +115,8 @@ class NotationalVelocityView extends SelectListView destroy: -> @cancel() @panel?.destroy() + @noteWatcher.save() + @noteWatcher.close() show: -> @storeFocusedElement()