Fix the problem that ui responded incorrectly while regaining focus.

This commit is contained in:
JunjieBai 2022-12-08 17:51:06 +08:00
parent 37ab793367
commit f12b8385a0
1 changed files with 2 additions and 0 deletions

View File

@ -174,6 +174,8 @@ void SearchResultPage::initUi()
// m_splitter->move(this->rect().topLeft().x() + 18, this->rect().topLeft().y() + 18);
m_resultArea = new ResultArea(this);
m_detailArea = new DetailArea(this);
m_resultArea->setFocusPolicy(Qt::NoFocus);
m_detailArea->setFocusPolicy(Qt::NoFocus);
m_hlayout->addWidget(m_resultArea);
m_hlayout->addWidget(m_detailArea);