fix(Bug#127028)【wayland】【音乐】点击除播放历史外其他选项,播放历史仍显示已选中 状态

This commit is contained in:
lijiawei 2023-10-12 11:08:18 +08:00
parent ae6899ddf4
commit 1e7b83adcb
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#include "tablehistory.h"
#include "UI/mainwidget.h"
#include "UI/base/widgetstyle.h"
#include "UIControl/global/global.h"
#define PT_15 15
@ -237,7 +238,12 @@ void TableHistory::showHistroryPlayList()
signalHistoryBtnChecked(false);
} else {
Widget::mutual->movePlayHistoryWid();
if (Global::isWayland) {
this->exec();
}
else{
this->show();
}
signalHistoryBtnChecked(true);
this->raise();
}