Changeset 5884


Ignore:
Timestamp:
May 21, 2008, 6:47:48 PM (14 years ago)
Author:
livings124
Message:

when showing quicklook window, leave previous window as key

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r5874 r5884  
    44http://trac.transmissionbt.com/query?group=component&milestone=1.30
    55- Mac
    6    + QuickLook integration in the main window and inspector's file tab
     6   + Quick Look integration in the main window and inspector's file tab
    77   + Transfers can be dragged to different groups
    88   + Status strings are toggled from the action button (they are no longer clickable)
  • trunk/macosx/QuickLookController.m

    r5877 r5884  
    9393        if ([self quickLookSelectItems])
    9494        {
     95            NSWindow * keyWindow = [NSApp keyWindow];
     96           
    9597            [[QLPreviewPanel sharedPreviewPanel] makeKeyAndOrderFrontWithEffect: 2];
    96             // Restore the focus to our window to demo the selection changing, scrolling (left/right)
    97             // and closing (space) functionality
    98             //[[self window] makeKeyWindow];
     98           
     99            //restore the focus to previous key window
     100            [keyWindow makeKeyWindow];
    99101        }
    100102    }
Note: See TracChangeset for help on using the changeset viewer.