forked from organicmaps/organicmaps
[search] Assign feature type to name if name is empty.
This commit is contained in:
parent
b9910335d9
commit
4ecc0e4659
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,10 @@ Result::Result(string const & str, string const & region,
|
|||
{
|
||||
// Features with empty names can be found after suggestion.
|
||||
if (m_str.empty())
|
||||
m_str = "-";
|
||||
{
|
||||
//m_str = "-";
|
||||
m_str = type;
|
||||
}
|
||||
}
|
||||
|
||||
Result::Result(string const & str, string const & suggestionStr)
|
||||
|
|
Loading…
Add table
Reference in a new issue