From 59d1b934fee460945b822af5ce282e31a7c94243 Mon Sep 17 00:00:00 2001 From: jzxc95 <907297917@qq.com> Date: Mon, 18 Jul 2022 11:04:06 +0800 Subject: [PATCH] fix bug #128339 #127890 --- debian/changelog | 6 ++++++ plugins/wlanconnect/wlanconnect.cpp | 2 +- src/frontend/list-items/wlanlistitem.cpp | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 2b6f18b8..dcc3601c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +kylin-nm (3.14.0.0+0512-0k8) v101; urgency=medium + + * close-cd #127890 开启无线局域网后关闭,重新打开控制面板,无线局域网处显示网卡名称 + * close-cd #128339 连接WIFI过程中点击忘记此WIFI,之后密码仍保留在输入框内 + -- zhaoshixu Mon, 18 Jul 2022 10:54:25 +0800 + kylin-nm (3.14.0.0+0512-0k7~0707) yangtz; urgency=medium * Fix mobilehotspot segmentation fault and init wlanSwitchEnable status. diff --git a/plugins/wlanconnect/wlanconnect.cpp b/plugins/wlanconnect/wlanconnect.cpp index 67cc3a88..4f174a56 100644 --- a/plugins/wlanconnect/wlanconnect.cpp +++ b/plugins/wlanconnect/wlanconnect.cpp @@ -272,7 +272,7 @@ void WlanConnect::initComponent() { } initNet(); - if (deviceList.isEmpty() || !m_interface->isValid()) { + if (!m_wifiSwitch->isChecked() || deviceList.isEmpty() || !m_interface->isValid()) { hideLayout(ui->availableLayout); } diff --git a/src/frontend/list-items/wlanlistitem.cpp b/src/frontend/list-items/wlanlistitem.cpp index 78477960..1f1adfc0 100644 --- a/src/frontend/list-items/wlanlistitem.cpp +++ b/src/frontend/list-items/wlanlistitem.cpp @@ -568,6 +568,9 @@ void WlanListItem::onMenuTriggered(QAction *action) << m_wirelessNetItem.m_NetSsid << Q_FUNC_INFO << __LINE__; m_netButton->startLoading(); } else if (action->text() == tr("Forget")) { + if (m_pwdLineEdit != nullptr) { + m_pwdLineEdit->clear(); + } m_wirelessConnectOperation->deleteWirelessConnect(m_wirelessNetItem.m_connectUuid); }