new-call-box: make sure to call origin_count_changed_cb
Otherwise the model changes happening before hooking up will be missed (which results in the model not being bound to HdyComboRow).
This commit is contained in:
@@ -212,6 +212,8 @@ provider_changed_cb (CallsNewCallBox *self)
|
|||||||
g_signal_connect_object (origins, "items-changed",
|
g_signal_connect_object (origins, "items-changed",
|
||||||
G_CALLBACK (origin_count_changed_cb), self,
|
G_CALLBACK (origin_count_changed_cb), self,
|
||||||
G_CONNECT_SWAPPED);
|
G_CONNECT_SWAPPED);
|
||||||
|
|
||||||
|
origin_count_changed_cb (self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user