add QuickLook to the main window (keeping it in the info window as well)

This commit is contained in:
Mitchell Livingston
2008-05-21 15:45:27 +00:00
parent 1f0c5b891c
commit 64e328a741
5 changed files with 59 additions and 22 deletions
+1 -1
View File
@@ -924,7 +924,7 @@ typedef enum
NSRange visibleRows = [fileOutlineView rowsInRect: [fileOutlineView bounds]];
int row;
for (row = visibleRows.location; row <= row + visibleRows.length; row++)
for (row = visibleRows.location; row < NSMaxRange(visibleRows); row++)
{
id rowItem = [fileOutlineView itemAtRow: row];
if ([[folder stringByAppendingPathComponent: [rowItem objectForKey: @"Path"]] isEqualToString: fullPath])