forked from organicmaps/organicmaps
[new downloader] Fixed download dialog notification after map delete.
This commit is contained in:
parent
0f824fa412
commit
db5f2095f6
1 changed files with 3 additions and 0 deletions
|
@ -490,6 +490,9 @@ bool Framework::OnCountryFileDelete(storage::TCountryId const & countryId, stora
|
|||
// Soft reset to signal that mwm file may be out of date in routing caches.
|
||||
m_routingSession.Reset();
|
||||
|
||||
if (countryId == m_lastReportedCountry)
|
||||
m_lastReportedCountry = kInvalidCountryId;
|
||||
|
||||
if(auto handle = m_lastQueryHandle.lock())
|
||||
handle->Cancel();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue