diff options
Diffstat (limited to 'source/dialogs/combi.c')
-rw-r--r-- | source/dialogs/combi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/dialogs/combi.c b/source/dialogs/combi.c index 86d92ba5..ab6a9a62 100644 --- a/source/dialogs/combi.c +++ b/source/dialogs/combi.c @@ -180,6 +180,9 @@ static ModeMode combi_mode_result ( Mode *sw, int mretv, char **input, unsigned return mode_result ( pd->switchers[i].mode, mretv, input, selected_line - pd->starts[i] ); } } + if ( ( mretv & MENU_CUSTOM_INPUT ) ) { + return mode_result ( pd->switchers[0].mode, mretv, input, selected_line ); + } return MODE_EXIT; } static int combi_mode_match ( const Mode *sw, rofi_int_matcher **tokens, unsigned int index ) |