diff options
author | vng <viktor.govako@gmail.com> | 2012-03-12 18:49:09 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:36:39 +0300 |
commit | 15e0cc25f43ff8759963b014aa7bfa7dc1dbfff2 (patch) | |
tree | 40495d1683ec5f114eea20b74cf4a4bf00060126 /qt/search_panel.cpp | |
parent | 1b9528da6a39d2f4747be8984b3b1405d4a777bd (diff) |
[search] Zoom to 9 level, when no any country loaded under serch result.
Diffstat (limited to 'qt/search_panel.cpp')
-rw-r--r-- | qt/search_panel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/search_panel.cpp b/qt/search_panel.cpp index 7f26be3466..ed293c78c5 100644 --- a/qt/search_panel.cpp +++ b/qt/search_panel.cpp @@ -197,7 +197,7 @@ void SearchPanel::OnSearchPanelItemClicked(int row, int) if (m_results[row].GetResultType() == ResultT::RESULT_FEATURE) { // center viewport on clicked item - m_pDrawWidget->ShowFeature(m_results[row].GetFeatureRect(), m_results[row].GetFeatureCenter()); + m_pDrawWidget->ShowSearchResult(m_results[row]); } else { |