From 078dc47e34dddb542ccbe5ef8a747d1c4048aa9c Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Sat, 16 Jun 2018 16:27:39 +0300 Subject: [PATCH] find hidden parents when 'hidden' is changed --- eval.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eval.go b/eval.go index baa4605..502e354 100644 --- a/eval.go +++ b/eval.go @@ -52,14 +52,17 @@ func (e *setExpr) eval(app *app, args []string) { case "hidden": gOpts.sortType.option |= hiddenSort app.nav.sort() + app.nav.position() app.ui.sort() case "nohidden": gOpts.sortType.option &= ^hiddenSort app.nav.sort() + app.nav.position() app.ui.sort() case "hidden!": gOpts.sortType.option ^= hiddenSort app.nav.sort() + app.nav.position() app.ui.sort() case "ignorecase": gOpts.ignorecase = true