forked from organicmaps/organicmaps
[core] bugfix with delete notification
This commit is contained in:
parent
67b4b0651e
commit
984c7a2550
1 changed files with 2 additions and 1 deletions
|
@ -281,7 +281,8 @@ void ActiveMapsLayout::DeleteMap(TIndex const & index, const TMapOptions & optio
|
|||
|
||||
void ActiveMapsLayout::DeleteMap(TGroup const & group, int position, TMapOptions const & options)
|
||||
{
|
||||
m_framework.DeleteCountry(GetItemInGroup(group, position).m_index, ValidOptionsForDelete(options));
|
||||
TIndex indexCopy = GetItemInGroup(group, position).m_index;
|
||||
m_framework.DeleteCountry(indexCopy, ValidOptionsForDelete(options));
|
||||
}
|
||||
|
||||
void ActiveMapsLayout::RetryDownloading(TGroup const & group, int position)
|
||||
|
|
Loading…
Add table
Reference in a new issue