mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 01:38:21 +01:00
fix File
This commit is contained in:
parent
da6eb2637b
commit
564df6c815
@ -47,7 +47,7 @@ class Files extends this.OS.GUI.BaseApplication
|
||||
|
||||
@view.set "onfileselect", (e) ->
|
||||
file = me.view.get "selectedFile"
|
||||
return unless file
|
||||
return unless file and file.mime
|
||||
file.mime = "dir" if file.type is "dir"
|
||||
me.apps.length = 0
|
||||
for v in me._gui.appsByMime file.mime
|
||||
|
Loading…
Reference in New Issue
Block a user