fix stop watch cursor selecting an imap folder for the second time while offline, sr=mscott 244282

This commit is contained in:
bienvenu%nventure.com 2004-05-21 17:39:37 +00:00
Родитель 4222a24063
Коммит fc59b9f70f
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -727,7 +727,8 @@ nsImapMailFolder::UpdateFolder(nsIMsgWindow *msgWindow)
getter_AddRefs(eventQ));
nsCOMPtr <nsIURI> url;
rv = imapService->SelectFolder(eventQ, this, m_urlListener, msgWindow, getter_AddRefs(url));
m_urlRunning = PR_TRUE;
if (NS_SUCCEEDED(rv))
m_urlRunning = PR_TRUE;
if (url)
{
nsCOMPtr <nsIMsgMailNewsUrl> mailnewsUrl = do_QueryInterface(url);