mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
parent
3141e9940a
commit
fc672dabc7
1 changed files with 3 additions and 0 deletions
|
|
@ -855,6 +855,9 @@ nsCString getQuery(nsCOMPtr<nsIAbDirectory> aDir)
|
|||
|
||||
NS_IMETHODIMP nsAbView::OnItemAdded(nsISupports *parentDir, nsISupports *item)
|
||||
{
|
||||
if (!mDirectory) // No address book selected.
|
||||
return NS_OK;
|
||||
|
||||
nsresult rv;
|
||||
nsCOMPtr <nsIAbDirectory> directory = do_QueryInterface(parentDir, &rv);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue