fix(network): add connection if it doesn't exist when it is selected
This commit is contained in:
parent
8900b93c85
commit
db47edf9b6
3 changed files with 155 additions and 202 deletions
|
|
@ -293,8 +293,7 @@ impl cosmic::Application for CosmicNetworkApplet {
|
|||
{
|
||||
self.new_connection = None;
|
||||
}
|
||||
}
|
||||
if let NetworkManagerRequest::Password(ssid, _) = &req {
|
||||
} else if let NetworkManagerRequest::Password(ssid, _) = &req {
|
||||
if let Some(
|
||||
NewConnectionState::EnterPassword { access_point, .. }
|
||||
| NewConnectionState::Waiting(access_point),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue