mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
fix 65303 circular rename of local folder (a->b->c->a) causes problems, sr=mscott, a=benjamin
This commit is contained in:
parent
6db8a67923
commit
24060093c3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user