Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b8c8cba

Browse files
Update browser_tabbed.py
Added tab Title/ tooltip support change. Noticed this missing and got this working on mine with the above mods and figured I'd share this upstream. Thanks for the awesome examples and code.
1 parent 20b3f89 commit b8c8cba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎browser_tabbed/browser_tabbed.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,10 @@ def add_new_tab(self, qurl=None, label="Blank"):
156156
# correct tab
157157
browser.urlChanged.connect(lambda qurl, browser=browser:
158158
self.update_urlbar(qurl, browser))
159-
159+
browser.titleChanged.connect(lambda _, i=i, browser=browser:
160+
self.setTabText(i, browser.page().title()))
161+
browser.titleChanged.connect(lambda _, i=i, browser=browser:
162+
self.setTabToolTip(i, browser.page().title()))
160163
browser.loadFinished.connect(lambda _, i=i, browser=browser:
161164
self.tabs.setTabText(i, browser.page().title()))
162165

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /