Fix bug another wifi be connected if mouse hover on it's item

This commit is contained in:
chenlelin 2021-02-19 20:37:31 +08:00
parent 00c6566a97
commit 392b274d46
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ bool OneConnForm::eventFilter(QObject *obj, QEvent *event)
} else if (obj == this) {
if(event->type() == QEvent::HoverEnter) {
if (!this->isTopItem) {
if (!this->isSelected) {
if (!this->isSelected && mw->currSelNetName.isEmpty()) {
ui->btnConn->show();
ui->wbg->setStyleSheet("#wbg{border-radius:4px;background-color:rgba(156,156,156,0.1);}");
ui->wbg->show();