mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 21:09:47 +00:00
Emit the changed signal after doing an update
This allows the UI to re-request the update list.
This commit is contained in:
parent
999e96bbd4
commit
a3a8f5039c
@ -342,12 +342,17 @@ fu_main_provider_update_authenticated (FuMainAuthHelper *helper, GError **error)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* run the correct provider that added this */
|
/* run the correct provider that added this */
|
||||||
return fu_provider_update (item->provider,
|
if (!fu_provider_update (item->provider,
|
||||||
item->device,
|
item->device,
|
||||||
helper->blob_cab,
|
helper->blob_cab,
|
||||||
helper->blob_fw,
|
helper->blob_fw,
|
||||||
helper->flags,
|
helper->flags,
|
||||||
error);
|
error))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
/* make the UI update */
|
||||||
|
fu_main_emit_changed (helper->priv);
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user