This commit is contained in:
zhaoshixu 2022-07-18 06:32:25 +00:00 committed by handsome_feng
parent 05da545e87
commit 090d6222e3
3 changed files with 10 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
kylin-nm (3.14.0.0+0512-0k8) yangtz; urgency=medium
* close-cd #127890 开启无线局域网后关闭,重新打开控制面板,无线局域网处显示网卡名称
* close-cd #128339 连接WIFI过程中点击忘记此WIFI之后密码仍保留在输入框内
-- zhaoshixu <zhaoshixu@kylinos.cn> 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.

View File

@ -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);
}

View File

@ -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);
}