From cac689a81af50936d9bd336793aa4b75e00694b2 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sun, 5 Sep 2021 12:28:32 +0300 Subject: [PATCH] Get rid of extra update of mini info. (stop_search): don't update mini info if quick search is incative. Signed-off-by: Andrew Borodin --- src/filemanager/panel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/filemanager/panel.c b/src/filemanager/panel.c index 54f85b9d7..9045beaab 100644 --- a/src/filemanager/panel.c +++ b/src/filemanager/panel.c @@ -2771,6 +2771,9 @@ start_search (WPanel * panel) static void stop_search (WPanel * panel) { + if (!panel->quick_search.active) + return; + panel->quick_search.active = FALSE; /* if user overrdied search string, we need to store it