diff options
author | Dave Davenport <qball@blame.services> | 2021-06-27 11:54:57 +0200 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2021-06-27 11:54:57 +0200 |
commit | 33248f511ca9a468cd2a36182a8a4b5c9f22153b (patch) | |
tree | af08c915bc688ac58556625bd016f01b9df79d6d | |
parent | 0ff0866be738f1bd99862fa091daad34cd21fc19 (diff) |
[View] Don't refilter when no mode is selected.
-rw-r--r-- | source/view.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 ); |