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:
parent
0ff0866be7
commit
33248f511c
1 changed files with 3 additions and 0 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue