WiFi连接受限时托盘显示无线图标

This commit is contained in:
zhangyuanyuan1 2022-07-27 15:41:58 +08:00
parent dd72c3c9f2
commit a1928f2343
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ void MainWindow::showByWaylandHelper()
void MainWindow::setCentralWidgetType(IconActiveType iconStatus)
{
if (iconStatus == WLAN_CONNECTED) {
if (iconStatus == WLAN_CONNECTED || WLAN_CONNECTED_LIMITED) {
m_centralWidget->setCurrentIndex(WLAN_PAGE_INDEX);
} else if (iconStatus == ACTIVATING) {
if (m_wlanWidget->checkWlanStatus(NetworkManager::ActiveConnection::State::Activating)) {