When "treeViewEnabled" was set to false twice, twisties in tabs were lost. ( https://github.com/piroor/treestyletab/issues/160 )
This commit is contained in:
parent
2e28ffe4c2
commit
785666ccf7
@ -4140,7 +4140,11 @@ TreeStyleTabBrowser.prototype = {
|
||||
},
|
||||
set treeViewEnabled(aValue)
|
||||
{
|
||||
this._treeViewEnabled = !!aValue;
|
||||
var newValue = !!aValue;
|
||||
if (newValue == this._treeViewEnabled)
|
||||
return aValue;
|
||||
|
||||
this._treeViewEnabled = newValue;
|
||||
if (this._treeViewEnabled) {
|
||||
if (this._lastAllowSubtreeCollapseExpand)
|
||||
this.allowSubtreeCollapseExpand = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user