Changeset [31d57b0c3772485dac5c25916b9d7df1537cc711] by Alexander Ljungberg
Revision 31d57b0c3772485dac5c25916b9d7df1537cc711,
committed by Alexander Ljungberg
· November 18th, 2010 @ 08:00 AM
Optimise table view selection notification.
Before the table view would send a
CPTableViewSelectionDidChangeNotification whenever the number of
rows in the table decreased, regardless of if any selected rows
actually became deselected. This could be a needless performance
drain in the common case where other program components update and
reload on selection changes in a table or outline view.
https://github.com/280north/cappuccino/commit/31d57b0c3772485dac5c2...
2 changed files
-
M
AppKit/CPTableView.j -
M
Tests/AppKit/CPTableViewTest.j