forked from organicmaps/organicmaps-tmp
[search] Don't repeat feature type if it's in the title
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
This commit is contained in:
parent
3b7be067e1
commit
8ab3b97fcd
1 changed files with 2 additions and 1 deletions
|
@ -91,7 +91,8 @@ std::string Result::GetFeatureDescription() const
|
|||
featureDescription += sv;
|
||||
};
|
||||
|
||||
append(GetLocalizedTypeName(m_mainType));
|
||||
if (!m_str.empty())
|
||||
append(GetLocalizedTypeName(m_mainType));
|
||||
|
||||
if (m_mainType != m_featureType && m_featureType != 0)
|
||||
append(GetLocalizedTypeName(m_featureType));
|
||||
|
|
Loading…
Add table
Reference in a new issue