mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
make sure that the account add view is shown after an account delete
This commit is contained in:
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user