Deselect imported host row regardless
This commit is contained in:
parent
68da29474b
commit
d550461c60
|
@ -84,12 +84,10 @@ class ImportedHostsViewController: UITableViewController {
|
||||||
}
|
}
|
||||||
|
|
||||||
private func tryParseURL(_ url: URL, cell: UITableViewCell) -> Bool {
|
private func tryParseURL(_ url: URL, cell: UITableViewCell) -> Bool {
|
||||||
|
deselectSelectedRow()
|
||||||
|
|
||||||
importer = HostImporter(withConfigurationURL: url, parentViewController: self)
|
importer = HostImporter(withConfigurationURL: url, parentViewController: self)
|
||||||
importer?.importHost(withPassphrase: nil, removeOnError: false, removeOnCancel: false) {
|
importer?.importHost(withPassphrase: nil, removeOnError: false, removeOnCancel: false) {
|
||||||
|
|
||||||
// FIXME: HostImporter, also deselect on error/cancel, or just deselect immediately
|
|
||||||
self.deselectSelectedRow()
|
|
||||||
|
|
||||||
self.parsingResult = $0
|
self.parsingResult = $0
|
||||||
self.perform(segue: StoryboardSegue.Organizer.importHostSegueIdentifier)
|
self.perform(segue: StoryboardSegue.Organizer.importHostSegueIdentifier)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue