Emit the changed signal after doing an update

This allows the UI to re-request the update list.
This commit is contained in:
Richard Hughes 2015-11-24 12:31:59 +00:00
parent 999e96bbd4
commit a3a8f5039c

View File

@ -342,12 +342,17 @@ fu_main_provider_update_authenticated (FuMainAuthHelper *helper, GError **error)
}
/* run the correct provider that added this */
return fu_provider_update (item->provider,
item->device,
helper->blob_cab,
helper->blob_fw,
helper->flags,
error);
if (!fu_provider_update (item->provider,
item->device,
helper->blob_cab,
helper->blob_fw,
helper->flags,
error))
return FALSE;
/* make the UI update */
fu_main_emit_changed (helper->priv);
return TRUE;
}
/**