commit: d31bfb015bd5fd67ec3043a4749d5dc135b57548
parent: db4d18f3362bd4a2e8e3600385947435843f60a7
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 28 Mar 2019 21:15:35 +0100
badwolf.c: Fix loading new tab with related_web_view
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/badwolf.c b/badwolf.c
@@ -411,7 +411,7 @@ new_browser(struct Window *window, gchar *target_url, WebKitWebView *related_web
browser->search, "search-changed", G_CALLBACK(SearchEntryCb_search__changed), browser);
g_signal_connect(browser->search, "stop-search", G_CALLBACK(SearchEntryCb_stop__search), browser);
- webkit_web_view_load_uri(browser->webView, target_url);
+ if(related_web_view == NULL) webkit_web_view_load_uri(browser->webView, target_url);
return browser;
}