fix: change fullscreen state when switching tab

This commit is contained in:
OmeletWithoutEgg 2025-11-01 14:42:11 +08:00
parent 214e2e9ac2
commit 32cffb5b5f
No known key found for this signature in database
GPG Key ID: 3596F1BE5872C7A9
1 changed files with 1 additions and 0 deletions

View File

@ -926,6 +926,7 @@ class TabbedBrowser(QWidget):
.format(current_mode.name, mode_on_change))
self._now_focused = tab
self.current_tab_changed.emit(tab)
self.cur_fullscreen_requested.emit(tab.data.fullscreen)
self.cur_search_match_changed.emit(tab.search.match)
QTimer.singleShot(0, self._update_window_title)
self._tab_insert_idx_left = self.widget.currentIndex()