mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Followup patch to bug 33045 to fix the case where RerootThreadPane wasn't getting called when it should p=ch.ey@gmx.net r=me sr=bienvenu
This commit is contained in:
parent
c70ee1bc78
commit
1fcd61bad4
@ -389,13 +389,7 @@ function SwitchView(command)
|
||||
break;
|
||||
}
|
||||
|
||||
// that should have initialized gDBView, now re-root the thread pane
|
||||
var treeView = gDBView.QueryInterface(Components.interfaces.nsITreeView);
|
||||
if (treeView)
|
||||
{
|
||||
var tree = GetThreadTree();
|
||||
tree.boxObject.QueryInterface(Components.interfaces.nsITreeBoxObject).view = treeView;
|
||||
}
|
||||
RerootThreadPane();
|
||||
}
|
||||
|
||||
function SetSentFolderColumns(isSentFolder)
|
||||
|
@ -395,13 +395,7 @@ function SwitchView(command)
|
||||
break;
|
||||
}
|
||||
|
||||
// that should have initialized gDBView, now re-root the thread pane
|
||||
var treeView = gDBView.QueryInterface(Components.interfaces.nsITreeView);
|
||||
if (treeView)
|
||||
{
|
||||
var tree = GetThreadTree();
|
||||
tree.boxObject.QueryInterface(Components.interfaces.nsITreeBoxObject).view = treeView;
|
||||
}
|
||||
RerootThreadPane();
|
||||
}
|
||||
|
||||
function SetSentFolderColumns(isSentFolder)
|
||||
|
Loading…
Reference in New Issue
Block a user