mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
Try to fix mountains__ function.
This commit is contained in:
parent
4579a62b2d
commit
916e7356fe
1 changed files with 1 additions and 1 deletions
|
@ -788,7 +788,7 @@ static void menu_refilter ( MenuState *state, char **lines, menu_match_cb mmc, v
|
|||
}
|
||||
state->selected = MIN ( state->selected, state->filtered_lines - 1 );
|
||||
|
||||
if ( config.auto_select == TRUE && state->filtered_lines == 1 ) {
|
||||
if ( config.auto_select == TRUE && state->filtered_lines == 1 && state->num_lines > 1) {
|
||||
*( state->selected_line ) = state->line_map[state->selected];
|
||||
state->retv = MENU_OK;
|
||||
state->quit = TRUE;
|
||||
|
|
Loading…
Reference in a new issue