fix 65303 circular rename of local folder (a->b->c->a) causes problems, sr=mscott, a=benjamin

This commit is contained in:
bienvenu%nventure.com 2005-06-30 20:04:13 +00:00
parent 6db8a67923
commit 24060093c3

View File

@ -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);
}