flowbox: check for flowbox when updating selection

This commit is contained in:
Christian Hergert 2019-03-29 16:26:20 -07:00
parent f9e19dca49
commit 8dfb33fb5f

View File

@ -297,6 +297,9 @@ gtk_flow_box_child_set_focus (GtkFlowBoxChild *child)
gboolean modify;
gboolean extend;
if (box == NULL)
return;
get_current_selection_modifiers (GTK_WIDGET (box), &modify, &extend);
if (modify)