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