fix input completion bindings for all modes
This commit is contained in:
parent
3f6ca1dedc
commit
5cbfb8113d
|
@ -602,7 +602,8 @@ gboolean entry_key_press_cb(GtkEntry *entry, GdkEventKey *event, keybind_info *i
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
} else if (info->panel.mode == overlay_mode::completion) {
|
}
|
||||||
|
|
||||||
if (event->keyval == GDK_KEY_Tab) {
|
if (event->keyval == GDK_KEY_Tab) {
|
||||||
synthesize_keypress(GTK_WIDGET(entry), GDK_KEY_Down);
|
synthesize_keypress(GTK_WIDGET(entry), GDK_KEY_Down);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -613,7 +614,6 @@ gboolean entry_key_press_cb(GtkEntry *entry, GdkEventKey *event, keybind_info *i
|
||||||
// this stops the down key from leaving the GtkEntry...
|
// this stops the down key from leaving the GtkEntry...
|
||||||
event->hardware_keycode = 0;
|
event->hardware_keycode = 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
if (info->panel.mode == overlay_mode::urlselect) {
|
if (info->panel.mode == overlay_mode::urlselect) {
|
||||||
|
|
Loading…
Reference in New Issue