diff --git a/source/view.c b/source/view.c index e419b000..414603aa 100644 --- a/source/view.c +++ b/source/view.c @@ -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 );