Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6376)

Unified Diff: chrome/browser/ui/cocoa/task_manager_mac.mm

Issue 2225993002: Mac Task Manager: Don't deselect rows before reloading data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/task_manager_mac.mm
diff --git a/chrome/browser/ui/cocoa/task_manager_mac.mm b/chrome/browser/ui/cocoa/task_manager_mac.mm
index 99dabace98285395e11b830129d3d9aa9e2c4e5b..bb8342faa86d641bfa848ff039c7ede434e01d1a 100644
--- a/chrome/browser/ui/cocoa/task_manager_mac.mm
+++ b/chrome/browser/ui/cocoa/task_manager_mac.mm
@@ -150,11 +150,7 @@ NSString* ColumnIdentifier(int id) {
// Sort.
[self sortShuffleArray];
- // Clear the selection and reload the NSTableView. Note that it is important
- // to clear the selection before reloading the data, and to reload the
- // selection after reloading the data, because otherwise the table will adjust
- // the selection in ways that are not desirable.
- [tableView_ deselectAll:nil];
+ // Reload the data.
[tableView_ reloadData];
// Reload the selection.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698