mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(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:
parent
f147c8b3e2
commit
562eb7449a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user