make sure that the account add view is shown after an account delete

This commit is contained in:
Maurice Parker 2019-05-12 19:22:59 -05:00
parent f4510e57e5
commit 521960a2c9
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,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.showController(AccountsAddViewController())
}
}