diff --git a/src/oneconnform.cpp b/src/oneconnform.cpp index 9cf772fd..ace18bb2 100644 --- a/src/oneconnform.cpp +++ b/src/oneconnform.cpp @@ -191,7 +191,7 @@ bool OneConnForm::eventFilter(QObject *obj, QEvent *event) } else if (obj == this) { if(event->type() == QEvent::HoverEnter) { if (!this->isTopItem) { - if (!this->isSelected && mw->currSelNetName.isEmpty()) { + if (!this->isSelected) { ui->btnConn->show(); ui->wbg->setStyleSheet("#wbg{border-radius:4px;background-color:rgba(156,156,156,0.1);}"); ui->wbg->show(); diff --git a/src/onelancform.cpp b/src/onelancform.cpp index 527befea..78c5e828 100644 --- a/src/onelancform.cpp +++ b/src/onelancform.cpp @@ -131,7 +131,7 @@ bool OneLancForm::eventFilter(QObject *obj, QEvent *event) } else if (obj == this) { if (event->type() == QEvent::HoverEnter) { if (!this->isTopItem) { - if (!this->isSelected && mw->currSelNetName.isEmpty()) { + if (!this->isSelected) { ui->btnConn->show(); ui->wbg_2->setStyleSheet("#wbg_2{border-radius:4px;background-color:rgba(156,156,156,0.1);}"); ui->wbg_2->show();