From fb73b4a4b61ff026aef5defd795dbfec793aaf0c Mon Sep 17 00:00:00 2001 From: chenlelin Date: Mon, 4 Jan 2021 09:25:06 +0800 Subject: [PATCH] Fix bug mainwindow shown by click menu can not hide --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 59d19b57..714a246f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -806,6 +806,8 @@ void MainWindow::on_showWindowAction() { handleIconClicked(); this->showNormal(); + this->raise(); + this->activateWindow(); }