mirror of
https://github.com/lbonn/rofi
synced 2024-11-27 14:21:07 +00:00
[DMenu] Dump when there is an empty filter.
This commit is contained in:
parent
02d8b7a31c
commit
7cc90abceb
1 changed files with 1 additions and 1 deletions
|
@ -656,7 +656,7 @@ int dmenu_switcher_dialog ( void )
|
||||||
GRegex **tokens = tokenize ( config.filter ? config.filter : "", config.case_sensitive );
|
GRegex **tokens = tokenize ( config.filter ? config.filter : "", config.case_sensitive );
|
||||||
unsigned int i = 0;
|
unsigned int i = 0;
|
||||||
for ( i = 0; i < cmd_list_length; i++ ) {
|
for ( i = 0; i < cmd_list_length; i++ ) {
|
||||||
if ( token_match ( tokens, cmd_list[i] ) ) {
|
if ( tokens == NULL || token_match ( tokens, cmd_list[i] ) ) {
|
||||||
dmenu_output_formatted_line ( pd->format, cmd_list[i], i, config.filter );
|
dmenu_output_formatted_line ( pd->format, cmd_list[i], i, config.filter );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue