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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 65228f2b..e9ed8d61 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -81,9 +81,7 @@ static iBool handleNavBarCommands_(iWidget *navBar, const char *cmd) {
81 if (equal_Command(cmd, "input.ended")) { 81 if (equal_Command(cmd, "input.ended")) {
82 iInputWidget *url = findChild_Widget(navBar, "url"); 82 iInputWidget *url = findChild_Widget(navBar, "url");
83 if (arg_Command(cmd) && pointer_Command(cmd) == url) { 83 if (arg_Command(cmd) && pointer_Command(cmd) == url) {
84 postCommandf_App( 84 postCommandf_App("open url:%s", cstr_String(text_InputWidget(url)));
85 "open url:%s",
86 cstr_String(text_InputWidget(url)));
87 return iTrue; 85 return iTrue;
88 } 86 }
89 } 87 }