diff options
| author | George Hazan <george.hazan@gmail.com> | 2023-11-17 14:55:45 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2023-11-17 14:55:45 +0300 |
| commit | 0353de737783a61cc1381d26dcdeda3111b61cb8 (patch) | |
| tree | 44244b70514e95860c15d5e2642b0c67457925c5 /protocols/CurrencyRates/src/ImportExport.cpp | |
| parent | f163ebca6e34e418978e30a83989d001186eff53 (diff) | |
final version of CurrencyRates before adding second provider
Diffstat (limited to 'protocols/CurrencyRates/src/ImportExport.cpp')
| -rw-r--r-- | protocols/CurrencyRates/src/ImportExport.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/CurrencyRates/src/ImportExport.cpp b/protocols/CurrencyRates/src/ImportExport.cpp index dce9989367..8d6804713a 100644 --- a/protocols/CurrencyRates/src/ImportExport.cpp +++ b/protocols/CurrencyRates/src/ImportExport.cpp @@ -443,10 +443,9 @@ bool import_contact(const TiXmlNode *pXmlContact, CImportContext &impctx) if (!handle_module(cst.m_hContact, pNode)) return false; - if (cst.m_bNewContact) { - cst.m_pProvider->AddContact(cst.m_hContact); + if (cst.m_bNewContact) cst.m_pProvider->RefreshContact(cst.m_hContact); - } + return true; } |
