From df3d9b408f0047681c61f90c3e8bfb595480b021 Mon Sep 17 00:00:00 2001 From: michael starke Date: Fri, 29 Sep 2017 13:22:42 +0200 Subject: [PATCH] enhanced documentation --- MacPass/MPEntryViewController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/MacPass/MPEntryViewController.m b/MacPass/MPEntryViewController.m index a50032df..eafe9c8f 100644 --- a/MacPass/MPEntryViewController.m +++ b/MacPass/MPEntryViewController.m @@ -373,6 +373,7 @@ NSString *const _MPTableSecurCellView = @"PasswordCell"; - (void)tableView:(NSTableView *)tableView didRemoveRowView:(NSTableRowView *)rowView forRow:(NSInteger)row { /* Rows being removed for data change should be checked here to clear selections */ if(row == -1) { + /* post selection change notification since cocoa decides not to post them if a selected row is removed */ [self tableViewSelectionDidChange:[NSNotification notificationWithName:NSTableViewSelectionDidChangeNotification object:tableView]]; } }