Bug 1438470 - Port bug 1437654 to mailnews: Remove call to nsITreeBoxObject::SetView(). rs=bustage-fix
This commit is contained in:
Родитель
490389a4ea
Коммит
71f21ed0f4
|
@ -59,8 +59,6 @@ NS_IMETHODIMP nsAbView::ClearView()
|
|||
{
|
||||
mDirectory = nullptr;
|
||||
mAbViewListener = nullptr;
|
||||
if (mTree)
|
||||
mTree->SetView(nullptr);
|
||||
mTree = nullptr;
|
||||
mTreeSelection = nullptr;
|
||||
|
||||
|
@ -171,7 +169,6 @@ NS_IMETHODIMP nsAbView::SetView(nsIAbDirectory *aAddressBook,
|
|||
{
|
||||
// Try and speed deletion of old cards by disconnecting the tree from us.
|
||||
mTreeSelection->ClearSelection();
|
||||
mTree->SetView(nullptr);
|
||||
}
|
||||
|
||||
// Clear out old cards
|
||||
|
|
Загрузка…
Ссылка в новой задаче