mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-11 17:24:04 +01:00
Hide the detail controller on deletes
This commit is contained in:
parent
89ed6d3ef8
commit
f06d4f7ef9
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user