diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 8eb58b21..a52e99af 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -3240,9 +3240,10 @@ static void checkResponse_DocumentWidget_(iDocumentWidget *d) { | |||
3240 | addChildPos_Widget(buttons, iClob(lineBreak), front_WidgetAddPos); | 3240 | addChildPos_Widget(buttons, iClob(lineBreak), front_WidgetAddPos); |
3241 | } | 3241 | } |
3242 | /* Menu for additional actions, past entries. */ { | 3242 | /* Menu for additional actions, past entries. */ { |
3243 | const iBinding *bind = findCommand_Keys("input.precedingline"); | ||
3243 | iMenuItem items[] = { { "${menu.input.precedingline}", | 3244 | iMenuItem items[] = { { "${menu.input.precedingline}", |
3244 | SDLK_v, | 3245 | bind->key, |
3245 | KMOD_PRIMARY | KMOD_SHIFT, | 3246 | bind->mods, |
3246 | format_CStr("!valueinput.set ptr:%p text:%s", | 3247 | format_CStr("!valueinput.set ptr:%p text:%s", |
3247 | buttons, | 3248 | buttons, |
3248 | cstr_String(&d->linePrecedingLink)) } }; | 3249 | cstr_String(&d->linePrecedingLink)) } }; |