!67 fix(ui): 解决连续右键无线网络后连接框不消失问题

Merge pull request !67 from zy-yuan1/nile0221
This commit is contained in:
赵世旭 2024-03-01 03:32:29 +00:00 committed by Gitee
commit bda366556e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 4 additions and 0 deletions

View File

@ -166,6 +166,10 @@ void WlanListItem::onRightButtonClicked()
{
qDebug()<< LOG_FLAG <<"onRightButtonClicked";
if (m_hoverButton->isVisible()) {
m_hoverButton->hide();
}
if (!m_menu) {
return;
}