From 016a4eff9ee552bd8d60564aaf1699242da6eab9 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 3 Jan 2021 08:38:42 +0200 Subject: Updating the navbar URL when opening tabs --- src/ui/documentwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index b6bfe948..e3e9ce61 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c @@ -1704,7 +1704,7 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) updateVisible_DocumentWidget_(d); updateSideIconBuf_DocumentWidget_(d); updateOutline_DocumentWidget_(d); - postCommandf_App("document.changed url:%s", cstr_String(d->mod.url)); + postCommandf_App("document.changed doc:%p url:%s", d, cstr_String(d->mod.url)); /* Check for a pending goto. */ if (!isEmpty_String(&d->pendingGotoHeading)) { scrollToHeading_DocumentWidget_(d, cstr_String(&d->pendingGotoHeading)); @@ -3278,7 +3278,7 @@ void setUrlFromCache_DocumentWidget(iDocumentWidget *d, const iString *url, iBoo } } else { - postCommandf_App("document.changed url:%s", cstr_String(d->mod.url)); + postCommandf_App("document.changed doc:%p url:%s", d, cstr_String(d->mod.url)); } } -- cgit v1.2.3