瀏覽代碼

Restore filter on context switch in non nav-as-you-type mode

master
Arun Prakash Jana 4 年之前
父節點
當前提交
f0f8008014
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: A75979F35C080412
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. +6
    -1
      src/nnn.c

+ 6
- 1
src/nnn.c 查看文件

@@ -5381,8 +5381,13 @@ nochange:
path = g_ctx[r].c_path;
lastdir = g_ctx[r].c_last;
lastname = g_ctx[r].c_name;
tmp = g_ctx[r].c_fltr;

if (cfg.filtermode || ((tmp[0] == FILTER || tmp[0] == RFILTER) && tmp[1]))
presel = FILTER;
else
dir_changed = TRUE;

setdirwatch();
goto begin;
case SEL_PIN:
free(mark);


Loading…
取消
儲存