From ad9028e803ab39f0f56af55dc23145ec1ae2a245 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Sun, 4 Sep 2011 19:29:41 -0700 Subject: [PATCH] cancel open --- src/editor.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editor.coffee b/src/editor.coffee index 7b6c249e4..c15bc88ce 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -58,6 +58,7 @@ class Editor extends Pane open: (path) -> path = App.openPanel() if not path + return if not path @filename = path if File.isDirectory @filename