mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Hide the detail controller on deletes
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user