cancel open

This commit is contained in:
Chris Wanstrath 2011-09-04 19:29:41 -07:00
parent 4dee3710f0
commit ad9028e803

View File

@ -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