Don't replace parent tab with group tab if it ls already replaced
This commit is contained in:
parent
7480757a0f
commit
c3efa9bd13
@ -5762,7 +5762,8 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
|
||||
insertBefore = this.getNextSiblingTab(this.getRootTab(aTab));
|
||||
}
|
||||
|
||||
if (aInfo.behavior == this.kCLOSE_PARENT_BEHAVIOR_REPLACE_WITH_GROUP_TAB) {
|
||||
if (aInfo.behavior == this.kCLOSE_PARENT_BEHAVIOR_REPLACE_WITH_GROUP_TAB &&
|
||||
!this.isGroupTab(aTab)) {
|
||||
let uri = this.getGroupTabURI({
|
||||
title: aTab.label,
|
||||
temporary: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user