From 2efac2110e842230826dadc4e6276bfec93d7523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=9C=86=E5=9C=86?= Date: Thu, 28 Jul 2022 03:37:03 +0000 Subject: [PATCH] Update src/frontend/mainwindow.cpp --- src/frontend/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/mainwindow.cpp b/src/frontend/mainwindow.cpp index 77025be3..af521a47 100644 --- a/src/frontend/mainwindow.cpp +++ b/src/frontend/mainwindow.cpp @@ -510,7 +510,7 @@ void MainWindow::showByWaylandHelper() void MainWindow::setCentralWidgetType(IconActiveType iconStatus) { - if (iconStatus == WLAN_CONNECTED || WLAN_CONNECTED_LIMITED) { + if (iconStatus == WLAN_CONNECTED || iconStatus == WLAN_CONNECTED_LIMITED) { m_centralWidget->setCurrentIndex(WLAN_PAGE_INDEX); } else if (iconStatus == ACTIVATING) { if (m_wlanWidget->checkWlanStatus(NetworkManager::ActiveConnection::State::Activating)) {