mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
cancel open
This commit is contained in:
parent
4dee3710f0
commit
ad9028e803
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user