зеркало из https://github.com/mozilla/gecko-dev.git
Bug 356805 Undo close tab doesn't show the tab bar if it was hidden
r+sr=neil
This commit is contained in:
Родитель
ccb6d1bc81
Коммит
2c9251c5eb
|
@ -1159,9 +1159,11 @@
|
||||||
|
|
||||||
if (this.mTabs.length == 2 &&
|
if (this.mTabs.length == 2 &&
|
||||||
!this.mTabs[0].linkedBrowser.webNavigation.sessionHistory.count)
|
!this.mTabs[0].linkedBrowser.webNavigation.sessionHistory.count)
|
||||||
this.removeTab(this.mTabs[0]);
|
this.removeTab(this.mTabs[0]); // only one tab => selected anyway
|
||||||
else // if there's only one tab, it's selected anyway
|
else {
|
||||||
this.selectedTab = t;
|
this.selectedTab = t;
|
||||||
|
this.mStrip.collapsed = false;
|
||||||
|
}
|
||||||
]]>
|
]]>
|
||||||
</body>
|
</body>
|
||||||
</method>
|
</method>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче