Revision: 13431
http://sourceforge.net/p/skim-app/code/13431
Author: hofman
Date: 2023-04-29 16:33:05 +0000 (Sat, 29 Apr 2023)
Log Message:
-----------
really add displayLabel
Modified Paths:
--------------
trunk/PDFPage_SKExtensions.m
Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m 2023-04-29 16:27:52 UTC (rev 13430)
+++ trunk/PDFPage_SKExtensions.m 2023-04-29 16:33:05 UTC (rev 13431)
@@ -344,7 +344,7 @@
pageIndexes = [NSKeyedUnarchiver
unarchiveObjectWithData:indexData];
NSMutableArray *labels = [NSMutableArray array];
[pageIndexes enumerateIndexesUsingBlock:^(NSUInteger i, BOOL
*stop){
- [labels addObject:[[self document] pageAtIndex:i]];
+ [labels addObject:[[[self document] pageAtIndex:i]
displayLabel]];
}];
if ([labels count])
label = [labels componentsJoinedByString:@", "];
@@ -381,7 +381,7 @@
if (pageIndexes && [[self document] allowsPrinting]) {
NSMutableArray *labels = [NSMutableArray array];
[pageIndexes enumerateIndexesUsingBlock:^(NSUInteger i, BOOL *stop){
- [labels addObject:[[self document] pageAtIndex:i]];
+ [labels addObject:[[[self document] pageAtIndex:i] displayLabel]];
}];
label = [labels componentsJoinedByString:@", "];
}
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