[View] Don't refilter when no mode is selected.

This commit is contained in:
Dave Davenport 2021-06-27 11:54:57 +02:00
parent 0ff0866be7
commit 33248f511c
1 changed files with 3 additions and 0 deletions

View File

@ -1097,6 +1097,9 @@ static void _rofi_view_reload_row ( RofiViewState *state )
static void rofi_view_refilter ( RofiViewState *state )
{
if ( state->sw == NULL ) {
return;
}
TICK_N ( "Filter start" );
if ( state->reload ) {
_rofi_view_reload_row ( state );