(start_search): don't start quick search if file panel is empty.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2024-10-19 10:26:13 +03:00
parent f147c8b3e2
commit 562eb7449a
1 changed files with 1 additions and 1 deletions

View File

@ -2930,7 +2930,7 @@ start_search (WPanel *panel)
do_search (panel, 0);
}
else
else if (panel->dir.len != 0)
{
panel->quick_search.active = TRUE;
g_string_set_size (panel->quick_search.buffer, 0);