forked from organicmaps/organicmaps
[bookmarks] Bookmarks belong to compilations attached to compilation id instead of category id. MAPSME-15129
This commit is contained in:
parent
ad5bab2df4
commit
cb3b4198e9
1 changed files with 1 additions and 1 deletions
|
@ -3023,7 +3023,7 @@ void BookmarkManager::CreateCategories(KMLDataCollection && dataCollection, bool
|
|||
LOG(LERROR, ("Incorrect compilation id", c, "into", fileName));
|
||||
continue;
|
||||
}
|
||||
bm->AttachCompilation(groupId);
|
||||
bm->AttachCompilation(it->second->GetID());
|
||||
it->second->AttachUserMark(bm->GetId());
|
||||
}
|
||||
m_changesTracker.OnAttachBookmark(bm->GetId(), groupId);
|
||||
|
|
Loading…
Add table
Reference in a new issue