1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[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

View file

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