Fixed the down arrow key skipping the first entry when inside of the search bar
This commit is contained in:
parent
e84ebfc943
commit
c814c813c5
@ -482,6 +482,7 @@ static gboolean key_press(GtkWidget* widget, GdkEvent* event, gpointer data) {
|
|||||||
GtkFlowBoxChild* child = gtk_flow_box_get_child_at_pos(GTK_FLOW_BOX(inner_box), 0, 0);
|
GtkFlowBoxChild* child = gtk_flow_box_get_child_at_pos(GTK_FLOW_BOX(inner_box), 0, 0);
|
||||||
gtk_widget_grab_focus(GTK_WIDGET(child));
|
gtk_widget_grab_focus(GTK_WIDGET(child));
|
||||||
gtk_flow_box_select_child(GTK_FLOW_BOX(inner_box), child);
|
gtk_flow_box_select_child(GTK_FLOW_BOX(inner_box), child);
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user