some know bug in File is not fixed yet

This commit is contained in:
Xuan Sang LE 2018-03-12 19:48:22 +01:00
parent 9d5f2250ba
commit d2677eb380

View File

@ -160,7 +160,7 @@ class Files extends this.OS.GUI.BaseApplication
me.view.set 'view', e.item.data.type me.view.set 'view', e.item.data.type
me.setting.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 menu
@ -174,7 +174,7 @@ class Files extends this.OS.GUI.BaseApplication
@trigger "resize" @trigger "resize"
actionView: (e) -> actionView: (e) ->
switch e switch e.item.data.dataid
when "#{@name}-hidden" when "#{@name}-hidden"
#@.view.set "showhidden", e.item.data.checked #@.view.set "showhidden", e.item.data.checked
@registry "showhidden", e.item.data.checked @registry "showhidden", e.item.data.checked