Deactive search controller to avoid bugs

This commit is contained in:
Bob Sun 2017-03-02 16:45:52 +08:00
parent 6eb19a4dc6
commit e1b5c0d524
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -205,6 +205,7 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
performSegue(withIdentifier: "showPasswordDetail", sender: tableView.cellForRow(at: indexPath))
} else {
tableView.deselectRow(at: indexPath, animated: true)
searchController.isActive = false
parentPasswordEntity = entry.passwordEntity
initPasswordsTableEntries()
reloadTableView(data: passwordsTableEntries)