summaryrefslogtreecommitdiff
path: root/src/uicmd.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-12-24 16:44:55 +0000
committercorvid <corvid@lavabit.com>2012-12-24 16:44:55 +0000
commit5b82fe650996097b18d6bc9fe4d78eaeb07b0609 (patch)
treea5d23361570975385bd09b5dc94e48d439f0810a /src/uicmd.cc
parentf40f4432c6e049179137263159f0d69ca22c105b (diff)
never leave Location blank when requesting url
Diffstat (limited to 'src/uicmd.cc')
-rw-r--r--src/uicmd.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index a5280b76..d97744ca 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -699,6 +699,7 @@ static void UIcmd_open_url_nbw(BrowserWindow *new_bw, const DilloUrl *url)
*/
if (url) {
a_Nav_push(new_bw, url, NULL);
+ a_UIcmd_set_location_text(new_bw, URL_STR(url));
BW2UI(new_bw)->focus_main();
} else {
BW2UI(new_bw)->focus_location();