Changeset 4059

Show
Ignore:
Timestamp:
04/09/06 12:36:06 (3 years ago)
Author:
morris
Message:

Fix navigating to parent folder when opening file

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Footagehead/trunk/English.lproj/ReleaseNotes.rtf

    r4055 r4059  
    429429- Add option to select between inline or linked images, or both, on HTML pages\ 
    430430- Toggle zoom button when clicking image to zoom\ 
     431- When opening a file from the Finder, correctly navigate to its parent folder\ 
    431432 
    432433\f0\b \cf2 \ 
  • Footagehead/trunk/FHController.m

    r4058 r4059  
    970970                [self _loadURL:url]; 
    971971        } else { 
    972                 file = [path lastPathComponent]; 
    973                 path = [path stringByDeletingLastPathComponent]; 
    974                  
     972                file    = [path lastPathComponent]; 
     973                path    = [path stringByDeletingLastPathComponent]; 
     974                url             = [WIURL fileURLWithPath:path]; 
     975 
    975976                [self _loadURL:url selectFile:file]; 
    976977        }