mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 617522. App tabs' pinnedonly=true attribute needs to be updated when closing a tab, because that might leave only app tabs. r=dao a=blocking-final
This commit is contained in:
parent
947848c536
commit
aefeb3c5b2
@ -1601,8 +1601,6 @@
|
||||
if (browser == this.mCurrentBrowser)
|
||||
this.mCurrentBrowser = null;
|
||||
|
||||
var wasPinned = aTab.pinned;
|
||||
|
||||
// Invalidate browsers cache, as the tab is removed from the
|
||||
// tab container.
|
||||
this._browsers = null;
|
||||
@ -1615,8 +1613,7 @@
|
||||
this.tabs[i]._tPos = i;
|
||||
|
||||
if (!this._windowIsClosing) {
|
||||
if (wasPinned)
|
||||
this.tabContainer._positionPinnedTabs();
|
||||
this.tabContainer._positionPinnedTabs();
|
||||
|
||||
// update tab close buttons state
|
||||
this.tabContainer.adjustTabstrip();
|
||||
|
Loading…
Reference in New Issue
Block a user