mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-29 12:02:11 +00:00
Deselect profile row on parsing error
This commit is contained in:
parent
663764177a
commit
7b7804091b
@ -66,6 +66,9 @@ class ImportedHostsViewController: UITableViewController {
|
||||
}
|
||||
let url = pendingConfigurationURLs[indexPath.row]
|
||||
guard let parsedFile = ParsedFile.from(url, withErrorAlertIn: self) else {
|
||||
if let selectedIP = tableView.indexPathForSelectedRow {
|
||||
tableView.deselectRow(at: selectedIP, animated: true)
|
||||
}
|
||||
return false
|
||||
}
|
||||
self.parsedFile = parsedFile
|
||||
|
Loading…
Reference in New Issue
Block a user