mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 21:33:57 -07:00
wire up network delete again
This commit is contained in:
parent
9f880d07ab
commit
1beacc8c32
3 changed files with 13 additions and 2 deletions
|
@ -62,7 +62,15 @@ class NetworkMonitor: NSObject {
|
|||
if index != NSNotFound {
|
||||
allNetworks.removeAtIndex(index)
|
||||
}
|
||||
|
||||
let index2 = findSavedNetworkWithID(nwid)
|
||||
|
||||
if index2 != NSNotFound {
|
||||
savedNetworks.removeAtIndex(index2)
|
||||
}
|
||||
}
|
||||
|
||||
saveNetworks()
|
||||
}
|
||||
|
||||
// Only to be called by updateNetworkInfo()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue