#129213 解决开始菜单点击屏幕键盘后延迟退出问题

This commit is contained in:
lixueman 2022-07-15 08:47:43 +08:00
parent dd032cfdb9
commit d1c570ba57
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ void KListView::onClicked(QModelIndex index)
if (var.isValid()) { if (var.isValid()) {
QString desktopfp = var.value<QString>(); QString desktopfp = var.value<QString>();
execApp(desktopfp); execApp(desktopfp);
Q_EMIT sendHideMainWindowSignal();
} }
} }

View File

@ -212,6 +212,7 @@ void FullMainWindow::initConnect()
connect(m_fullCommonPage, &FullCommonUseWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide); connect(m_fullCommonPage, &FullCommonUseWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide);
connect(m_fullFunctionPage, &FullFunctionWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide); connect(m_fullFunctionPage, &FullFunctionWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide);
connect(m_fullLetterPage, &FullLetterWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide); connect(m_fullLetterPage, &FullLetterWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide);
connect(m_fullResultPage, &FullSearchResultWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide);
connect(m_dropDownMenu, &MenuBox::triggered, this, &FullMainWindow::on_fullSelectMenuButton_triggered); connect(m_dropDownMenu, &MenuBox::triggered, this, &FullMainWindow::on_fullSelectMenuButton_triggered);
connect(m_dropDownMenu, &MenuBox::sendMainWinActiveSignal, [ = ]() { connect(m_dropDownMenu, &MenuBox::sendMainWinActiveSignal, [ = ]() {
selectIconAnimation(false); selectIconAnimation(false);