diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index a110c5ad..65228f2b 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -98,6 +98,11 @@ static iBool handleNavBarCommands_(iWidget *navBar, const char *cmd) { | |||
98 | return iFalse; | 98 | return iFalse; |
99 | } | 99 | } |
100 | else if (equal_Command(cmd, "document.request.started")) { | 100 | else if (equal_Command(cmd, "document.request.started")) { |
101 | iInputWidget *url = findChild_Widget(navBar, "url"); | ||
102 | if (isFocused_Widget(as_Widget(url))) { | ||
103 | setFocus_Widget(NULL); | ||
104 | } | ||
105 | setTextCStr_InputWidget(url, valuePtr_Command(cmd, "url")); | ||
101 | updateTextCStr_LabelWidget(findChild_Widget(navBar, "reload"), stopCStr_); | 106 | updateTextCStr_LabelWidget(findChild_Widget(navBar, "reload"), stopCStr_); |
102 | return iFalse; | 107 | return iFalse; |
103 | } | 108 | } |