Hide the detail controller on deletes

This commit is contained in:
Maurice Parker 2020-12-09 14:50:25 -06:00
parent 89ed6d3ef8
commit f06d4f7ef9
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ final class AccountsPreferencesViewController: NSViewController {
if result == NSApplication.ModalResponse.alertFirstButtonReturn {
guard let self = self else { return }
AccountManager.shared.deleteAccount(self.sortedAccounts[self.tableView.selectedRow])
self.hideController()
}
}