From d2677eb380fcf45c9692b6004235669aaeea7025 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Mon, 12 Mar 2018 19:48:22 +0100 Subject: [PATCH] some know bug in File is not fixed yet --- src/packages/Files/main.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/packages/Files/main.coffee b/src/packages/Files/main.coffee index 81bde34..e0ba38e 100644 --- a/src/packages/Files/main.coffee +++ b/src/packages/Files/main.coffee @@ -160,7 +160,7 @@ class Files extends this.OS.GUI.BaseApplication me.view.set 'view', e.item.data.type me.setting.view = e.item.data.type }, - ], onmenuselect: (e) -> me.actionView e.item.data.dataid + ], onmenuselect: (e) -> me.actionView e }, ] menu @@ -174,7 +174,7 @@ class Files extends this.OS.GUI.BaseApplication @trigger "resize" actionView: (e) -> - switch e + switch e.item.data.dataid when "#{@name}-hidden" #@.view.set "showhidden", e.item.data.checked @registry "showhidden", e.item.data.checked