wire up network delete again

This commit is contained in:
Grant Limberg 2016-06-27 17:54:54 -07:00
commit 1beacc8c32
3 changed files with 13 additions and 2 deletions

View file

@ -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()