Revision: 12093
http://sourceforge.net/p/skim-app/code/12093
Author: hofman
Date: 2020-12-28 22:53:59 +0000 (Mon, 28 Dec 2020)
Log Message:
-----------
Get tablecolumn and datacell after getting table
Modified Paths:
--------------
trunk/SKInfoWindowController.m
Modified: trunk/SKInfoWindowController.m
===================================================================
--- trunk/SKInfoWindowController.m 2020-12-28 15:59:29 UTC (rev 12092)
+++ trunk/SKInfoWindowController.m 2020-12-28 22:53:59 UTC (rev 12093)
@@ -157,9 +157,9 @@
NSArray *tables = [NSArray arrayWithObjects:summaryTableView,
attributesTableView, nil];
NSTableView *tv;
CGFloat width = 0.0;
- NSTableColumn *tc = [tv tableColumnWithIdentifier:LABEL_COLUMN_ID];
- NSCell *cell = [tc dataCell];
for (tv in tables) {
+ NSTableColumn *tc = [tv tableColumnWithIdentifier:LABEL_COLUMN_ID];
+ NSCell *cell = [tc dataCell];
NSUInteger row, rowMax = [tv numberOfRows];
for (row = 0; row < rowMax; row++) {
[cell setStringValue:[self tableView:tv
objectValueForTableColumn:tc row:row]];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit