Emit selection-changed for autoselection

This was missed in the case that the child model
goes from empty to non-empty.
This commit is contained in:
Matthias Clasen
2019-01-06 17:43:37 -05:00
parent 9e2eb047d0
commit 30db87b120

View File

@@ -169,6 +169,7 @@ gtk_single_selection_items_changed_cb (GListModel *model,
{
self->selected = 0;
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_SELECTED]);
emit_selection_changed = TRUE;
}
}
}