From dfbf82f0bf0ac030865e68135bb149be50eb3016 Mon Sep 17 00:00:00 2001 From: anthony Date: Thu, 25 Feb 2021 19:55:03 +0000 Subject: [PATCH] Set the window title and url bar string upon changing tabs --- frontends/gnustep/BrowserWindowController.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontends/gnustep/BrowserWindowController.m b/frontends/gnustep/BrowserWindowController.m index 1a759dbdc..beb022530 100644 --- a/frontends/gnustep/BrowserWindowController.m +++ b/frontends/gnustep/BrowserWindowController.m @@ -391,6 +391,9 @@ static id newTabTarget; scrollView = [tabContents scrollView]; browser = [tabContents browser]; activeTab = tabContents; + Website *website = [self currentWebsiteForTab: activeTab]; + [urlBar setStringValue: [website url]]; + [[self window] setTitle: [website name]]; } -(Website*)currentWebsiteForTab: (id)tab {