forked from organicmaps/organicmaps
[core] Removed description checking for opening mode choosing in bookmark
This commit is contained in:
parent
0bf0e05774
commit
39028392c3
1 changed files with 3 additions and 3 deletions
|
@ -843,9 +843,9 @@ void Framework::FillBookmarkInfo(Bookmark const & bmk, place_page::Info & info)
|
|||
info.SetBookmarkData(bmk.GetData());
|
||||
info.SetBookmarkId(bmk.GetId());
|
||||
info.SetBookmarkCategoryId(bmk.GetGroupId());
|
||||
auto openingMode = (m_routingManager.IsRoutingActive() || bmk.GetDescription().empty())
|
||||
? place_page::OpeningMode::Preview
|
||||
: place_page::OpeningMode::PreviewPlus;
|
||||
auto openingMode = m_routingManager.IsRoutingActive()
|
||||
? place_page::OpeningMode::Preview
|
||||
: place_page::OpeningMode::PreviewPlus;
|
||||
info.SetOpeningMode(openingMode);
|
||||
FillPointInfoForBookmark(bmk, info);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue