fix(frontend): There is no web search result when there is no local result.
Description: 修复没有本地搜索结果时不显示网页搜索列表的问题 Log: 修复没有本地搜索结果时不显示网页搜索列表的问题 Bug: http://172.17.66.192/biz/bug-view-40944.html
This commit is contained in:
parent
da0bce0e48
commit
896fb44dea
|
@ -442,7 +442,7 @@ int ContentWidget::currentPage() {
|
|||
*/
|
||||
void ContentWidget::resetSearchList()
|
||||
{
|
||||
this->hideListView();
|
||||
// this->hideListView();
|
||||
if (m_fileListView) {
|
||||
m_fileListView->hide();
|
||||
m_fileTitleLabel->hide();
|
||||
|
@ -491,7 +491,8 @@ void ContentWidget::resetSearchList()
|
|||
m_webListView->show();
|
||||
m_webListView->isHidden = false;
|
||||
}
|
||||
m_resultList->setFixedHeight(0);
|
||||
|
||||
resetListHeight();
|
||||
m_detailView->clearLayout();
|
||||
m_contentDetailList.clear();
|
||||
m_bestContent.clear();
|
||||
|
|
Loading…
Reference in New Issue