forked from osmocom/wireshark
Simplified previous enter-fix.
svn path=/trunk/; revision=38445
This commit is contained in:
parent
c749f0b7b9
commit
8949aa748f
1 changed files with 1 additions and 4 deletions
|
@ -575,12 +575,9 @@ filter_string_te_key_pressed_cb(GtkWidget *filter_te, GdkEventKey *event, gpoint
|
|||
autocomplete_protocol_string(filter_te, value);
|
||||
g_free(value);
|
||||
}
|
||||
if(k == GDK_Return || k == GDK_KP_Enter) {
|
||||
if(k != GDK_space) {
|
||||
stop_propagation = TRUE; /* stop event propagation */
|
||||
}
|
||||
} else if(k == GDK_Return || k == GDK_KP_Enter) {
|
||||
/* Nothing selected, continue propagation */
|
||||
stop_propagation = FALSE;
|
||||
}
|
||||
|
||||
/* Lose popup */
|
||||
|
|
Loading…
Reference in a new issue