summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 71d383ab..3d9d98d1 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -181,7 +181,7 @@ static iBool handleNavBarCommands_(iWidget *navBar, const char *cmd) {
181 /* Update navbar according to the current tab. */ 181 /* Update navbar according to the current tab. */
182 iDocumentWidget *doc = document_App(); 182 iDocumentWidget *doc = document_App();
183 if (doc) { 183 if (doc) {
184 setText_InputWidget(findWidget_App("url"), url_DocumentWidget(doc)); 184 setText_InputWidget(findChild_Widget(navBar, "url"), url_DocumentWidget(doc));
185 updateTextCStr_LabelWidget(findChild_Widget(navBar, "reload"), 185 updateTextCStr_LabelWidget(findChild_Widget(navBar, "reload"),
186 isRequestOngoing_DocumentWidget(doc) ? stopCStr_ : reloadCStr_); 186 isRequestOngoing_DocumentWidget(doc) ? stopCStr_ : reloadCStr_);
187 } 187 }