Update src/frontend/mainwindow.cpp
This commit is contained in:
parent
a1928f2343
commit
2efac2110e
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue