From 91d3c58c83eee543082d3e1a1d75d09e99d12c71 Mon Sep 17 00:00:00 2001 From: zhangyuanyuan1 Date: Mon, 18 Jul 2022 09:24:53 +0800 Subject: [PATCH] =?UTF-8?q?fix=20bug=20128339=20WiFi=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E8=BF=87=E7=A8=8B=E5=BF=98=E8=AE=B0=E5=AF=86=E7=A0=81=E5=90=8E?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E4=BB=8D=E4=BF=9D=E7=95=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/list-items/wlanlistitem.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/list-items/wlanlistitem.cpp b/src/frontend/list-items/wlanlistitem.cpp index e3ed6f77..78e391c0 100644 --- a/src/frontend/list-items/wlanlistitem.cpp +++ b/src/frontend/list-items/wlanlistitem.cpp @@ -587,6 +587,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); }