Ticket #3870: fix INPUT_COMPLETE_CD in quick widget.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Maksim Dzabraev 2017-10-28 19:18:23 +03:00 committed by Andrew Borodin
parent 98294fc1e6
commit 16b569986e
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ quick_dialog_skip (quick_dialog_t * quick_dlg, int nskip)
break;
case quick_input:
if ((quick_widget->u.input.completion_flags & INPUT_COMPLETE_CD) != 0)
if ((item->quick_widget->u.input.completion_flags & INPUT_COMPLETE_CD) != 0)
*item->quick_widget->u.input.result =
tilde_expand (INPUT (item->widget)->buffer);
else