make sure that the account add view is shown after an account delete
This commit is contained in:
parent
f4510e57e5
commit
521960a2c9
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue