зеркало из https://github.com/mozilla/pjs.git
Fix for 44834. Unsubscribe works when hitting delete button or delete menu item when a
newsgroup is selected. r=bienvenu.
This commit is contained in:
Родитель
0c2147e6a2
Коммит
8ba0b93975
|
@ -587,7 +587,9 @@ NS_IMETHODIMP nsMsgNewsFolder::Delete()
|
||||||
rv = nntpServer->RemoveNewsgroup((const char *)name);
|
rv = nntpServer->RemoveNewsgroup((const char *)name);
|
||||||
if (NS_FAILED(rv)) return rv;
|
if (NS_FAILED(rv)) return rv;
|
||||||
|
|
||||||
return NS_OK;
|
rv = SetNewsrcHasChanged(PR_TRUE);
|
||||||
|
|
||||||
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP nsMsgNewsFolder::Rename(const PRUnichar *newName)
|
NS_IMETHODIMP nsMsgNewsFolder::Rename(const PRUnichar *newName)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче