From a3a8f5039c65b7d6deb9263230b71ac6cb00654b Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 24 Nov 2015 12:31:59 +0000 Subject: [PATCH] Emit the changed signal after doing an update This allows the UI to re-request the update list. --- src/fu-main.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/fu-main.c b/src/fu-main.c index 9832f4789..68e4deb82 100644 --- a/src/fu-main.c +++ b/src/fu-main.c @@ -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; } /**