зеркало из https://github.com/mozilla/pjs.git
fix 65303 circular rename of local folder (a->b->c->a) causes problems, sr=mscott, a=benjamin
This commit is contained in:
Родитель
40eaccf8bc
Коммит
dbe8d35292
|
@ -1228,6 +1228,7 @@ NS_IMETHODIMP nsMsgLocalMailFolder::Rename(const PRUnichar *aNewName, nsIMsgWind
|
|||
parentFolder->PropagateDelete(this, PR_FALSE, msgWindow);
|
||||
parentFolder->NotifyItemAdded(newFolder);
|
||||
}
|
||||
SetPath(nsnull); // forget our path, since this folder object renamed itself
|
||||
folderRenameAtom = do_GetAtom("RenameCompleted");
|
||||
newFolder->NotifyFolderEvent(folderRenameAtom);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче