progress: Inherit status from parent

This commit is contained in:
Gaël PORTAY 2022-05-25 10:15:29 +02:00 committed by Gaël PORTAY
parent 9d67fecabb
commit 41cbf8aa18

View File

@ -685,6 +685,7 @@ fu_progress_get_child(FuProgress *self)
G_CALLBACK(fu_progress_child_status_changed_cb), G_CALLBACK(fu_progress_child_status_changed_cb),
self); self);
fu_progress_set_parent(priv->child, self); fu_progress_set_parent(priv->child, self);
fu_progress_set_status(priv->child, priv->status);
return priv->child; return priv->child;
} }