mirror of
https://github.com/transmission/transmission
synced 2025-01-31 11:23:40 +00:00
when showing quicklook window, leave previous window as key
This commit is contained in:
parent
e406dcc2ab
commit
f8d72c8708
2 changed files with 6 additions and 4 deletions
2
NEWS
2
NEWS
|
@ -3,7 +3,7 @@ NEWS file for Transmission <http://www.transmissionbt.com/>
|
|||
1.30 (2008/mm/dd)
|
||||
http://trac.transmissionbt.com/query?group=component&milestone=1.30
|
||||
- Mac
|
||||
+ QuickLook integration in the main window and inspector's file tab
|
||||
+ Quick Look integration in the main window and inspector's file tab
|
||||
+ Transfers can be dragged to different groups
|
||||
+ Status strings are toggled from the action button (they are no longer clickable)
|
||||
|
||||
|
|
|
@ -92,10 +92,12 @@ QuickLookController * fQuickLookInstance = nil;
|
|||
{
|
||||
if ([self quickLookSelectItems])
|
||||
{
|
||||
NSWindow * keyWindow = [NSApp keyWindow];
|
||||
|
||||
[[QLPreviewPanel sharedPreviewPanel] makeKeyAndOrderFrontWithEffect: 2];
|
||||
// Restore the focus to our window to demo the selection changing, scrolling (left/right)
|
||||
// and closing (space) functionality
|
||||
//[[self window] makeKeyWindow];
|
||||
|
||||
//restore the focus to previous key window
|
||||
[keyWindow makeKeyWindow];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue