Fix bug another wifi be connected if mouse hover on it's item
This commit is contained in:
parent
00c6566a97
commit
392b274d46
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue