fix Files bug

This commit is contained in:
Xuan Sang LE 2020-05-21 22:16:24 +02:00
parent 5c08a189cc
commit 0b27af3e9d

View File

@ -41,8 +41,13 @@ class Files extends this.OS.GUI.BaseApplication
file.mime = "dir" if file.type is "dir" file.mime = "dir" if file.type is "dir"
for v in @_gui.appsByMime file.mime for v in @_gui.appsByMime file.mime
v.args = [ file ] apps.push {
apps.push v text: v.text,
app: v.app,
icon: v.icon,
iconclass: v.iconclass
}
m.set "items", [ m.set "items", [
{ {
text: "__(Open with)", text: "__(Open with)",