mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 10:54:33 +00:00
Bug 504475 - closing last tab shows tab bar with "Always show the tab bar" off, and browser.tabs.closeWindowWithLastTab = false. r=gavin
This commit is contained in:
parent
7e1d49cd02
commit
7e008c7ad7
@ -1344,7 +1344,8 @@
|
||||
|
||||
b.addEventListener("DOMTitleChanged", this.onTitleChanged, true);
|
||||
|
||||
if (this.mStrip.collapsed)
|
||||
if (this.mStrip.collapsed &&
|
||||
this.mTabs.length - this._removingTabs.length > 1)
|
||||
this.setStripVisibilityTo(true);
|
||||
|
||||
// wire up a progress listener for the new browser object.
|
||||
|
Loading…
x
Reference in New Issue
Block a user