Fix no preview update when dir changed with same entry number hovered

This commit is contained in:
Arun Prakash Jana 2020-05-06 19:29:46 +05:30
parent ce06bf15d6
commit ab9f560fa8
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -4691,11 +4691,13 @@ static void notify_fifo()
}
static char *name = NULL;
static time_t t = {0};
if (dents[cur].name == name)
if (dents[cur].name == name && dents[cur].t == t)
return;
name = dents[cur].name;
t = dents[cur].t;
char path[PATH_MAX];
size_t len = mkpath(g_ctx[cfg.curctx].c_path, ndents ? name : "", path);