Fix bug show wrong wifi config window when select save password just for current user

This commit is contained in:
zhangjiaping 2021-03-24 10:47:52 +08:00
parent 8105f84e78
commit e8e46c8013
1 changed files with 1 additions and 1 deletions

View File

@ -621,7 +621,7 @@ void OneConnForm::toConnectWirelessNetwork()
process->waitForFinished(); process->waitForFinished();
} }
if (key_mgmt == "wpa-psk" && this->getPskFlag() != 0) { if (key_mgmt == "wpa-psk" && this->getPskFlag() == 2) {
//当设置为每次询问密码时执行 //当设置为每次询问密码时执行
QPoint pos = QCursor::pos(); QPoint pos = QCursor::pos();
QRect primaryGeometry; QRect primaryGeometry;