Don't trigger completion on control characters
This commit is contained in:
parent
3af420622c
commit
04f953dc0d
1 changed files with 4 additions and 0 deletions
|
@ -919,6 +919,10 @@ midori_location_action_key_press_event_cb (GtkEntry* entry,
|
|||
return TRUE;
|
||||
}
|
||||
default:
|
||||
/* Don't trigger completion on control characters */
|
||||
if (gdk_unicode_to_keyval (event->keyval) == (event->keyval | 0x01000000))
|
||||
return FALSE;
|
||||
|
||||
if ((text = gtk_entry_get_text (entry)) && *text)
|
||||
{
|
||||
midori_location_action_popup_completion (location_action, widget, "");
|
||||
|
|
Loading…
Reference in a new issue