summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/documentwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 4158b719..16d2a84a 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1040,7 +1040,7 @@ static void showErrorPage_DocumentWidget_(iDocumentWidget *d, enum iGmStatusCode
1040} 1040}
1041 1041
1042static void updateFetchProgress_DocumentWidget_(iDocumentWidget *d) { 1042static void updateFetchProgress_DocumentWidget_(iDocumentWidget *d) {
1043 iLabelWidget *prog = findWidget_App("document.progress"); 1043 iLabelWidget *prog = findChild_Widget(root_Widget(as_Widget(d)), "document.progress");
1044 const size_t dlSize = d->request ? bodySize_GmRequest(d->request) : 0; 1044 const size_t dlSize = d->request ? bodySize_GmRequest(d->request) : 0;
1045 showCollapsed_Widget(as_Widget(prog), dlSize >= 250000); 1045 showCollapsed_Widget(as_Widget(prog), dlSize >= 250000);
1046 if (isVisible_Widget(prog)) { 1046 if (isVisible_Widget(prog)) {