forked from organicmaps/organicmaps
Fixed bookmarks author setting up
This commit is contained in:
parent
50d4f1e3f9
commit
fd49db79c8
1 changed files with 0 additions and 1 deletions
|
@ -1400,7 +1400,6 @@ kml::MarkGroupId BookmarkManager::CreateBookmarkCategory(std::string const & nam
|
|||
auto const groupId = UserMarkIdStorage::Instance().GetNextCategoryId();
|
||||
CHECK_EQUAL(m_categories.count(groupId), 0, ());
|
||||
m_categories[groupId] = std::make_unique<BookmarkCategory>(name, groupId, autoSave);
|
||||
m_categories[groupId]->SetAuthor(m_user.GetUserName(), m_user.GetUserId());
|
||||
UpdateBmGroupIdList();
|
||||
m_changesTracker.OnAddGroup(groupId);
|
||||
return groupId;
|
||||
|
|
Loading…
Add table
Reference in a new issue