mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
ui/network: refresh IP address on connect
old-commit-hash: 46c32613fccd22e356c0b3092b61132ce264ae49
This commit is contained in:
@@ -271,6 +271,7 @@ void WifiManager::stateChange(unsigned int new_state, unsigned int previous_stat
|
||||
forgetConnection(connecting_to_network);
|
||||
emit wrongPassword(connecting_to_network);
|
||||
} else if (new_state == NM_DEVICE_STATE_ACTIVATED) {
|
||||
ipv4_address = getIp4Address();
|
||||
setCurrentSsid("", connecting_to_network);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user