mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
cancel open
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user