fix input completion bindings for all modes

This commit is contained in:
Daniel Micay 2012-09-28 03:45:49 -04:00
parent 3f6ca1dedc
commit 5cbfb8113d
1 changed files with 11 additions and 11 deletions

View File

@ -602,7 +602,8 @@ gboolean entry_key_press_cb(GtkEntry *entry, GdkEventKey *event, keybind_info *i
break;
}
ret = TRUE;
} else if (info->panel.mode == overlay_mode::completion) {
}
if (event->keyval == GDK_KEY_Tab) {
synthesize_keypress(GTK_WIDGET(entry), GDK_KEY_Down);
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...
event->hardware_keycode = 0;
}
}
if (ret) {
if (info->panel.mode == overlay_mode::urlselect) {