Update src/frontend/mainwindow.cpp

This commit is contained in:
张圆圆 2022-07-28 03:37:03 +00:00
parent a1928f2343
commit 2efac2110e
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 || 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)) {