From e8e46c8013fa2b079131a6a20bee86cd054d8622 Mon Sep 17 00:00:00 2001 From: zhangjiaping Date: Wed, 24 Mar 2021 10:47:52 +0800 Subject: [PATCH] Fix bug show wrong wifi config window when select save password just for current user --- src/oneconnform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oneconnform.cpp b/src/oneconnform.cpp index eea9ba8c..94edaf91 100644 --- a/src/oneconnform.cpp +++ b/src/oneconnform.cpp @@ -621,7 +621,7 @@ void OneConnForm::toConnectWirelessNetwork() process->waitForFinished(); } - if (key_mgmt == "wpa-psk" && this->getPskFlag() != 0) { + if (key_mgmt == "wpa-psk" && this->getPskFlag() == 2) { //当设置为每次询问密码时执行 QPoint pos = QCursor::pos(); QRect primaryGeometry;