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:
Dão Gottwald 2010-01-24 11:20:57 +01:00
parent 7e1d49cd02
commit 7e008c7ad7

View File

@ -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.