From 17a8be1ae67c47168fa328ff1712a81d05ccff2d Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Tue, 15 Jun 2010 19:20:48 -0700 Subject: [PATCH] Return the actually last selected row in CPTableView. Closes 716. --- AppKit/CPTableView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index 3a2b0f0d9..e889cfa28 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -1020,7 +1020,7 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5; - (int)selectedRow { - return [_selectedRowIndexes lastIndex]; + return _lastSelectedRow; } - (CPIndexSet)selectedRowIndexes