Changeset 6661


Ignore:
Timestamp:
Aug 29, 2008, 1:13:33 AM (13 years ago)
Author:
livings124
Message:

better [6658]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/QuickLookController.m

    r6658 r6661  
    114114- (void) updateQuickLook
    115115{
    116     if (!fQuickLookAvailable)
     116    //only update when window is open or in the middle of opening (visible)
     117    if (!fQuickLookAvailable || !([[QLPreviewPanel sharedPreviewPanel] isOpen] || [[QLPreviewPanel sharedPreviewPanel] isVisible]))
    117118        return;
    118119   
    119     //if the user changes the selection while the panel is open then update the current items
    120120    if (![self quickLookSelectItems])
    121121        [[QLPreviewPanel sharedPreviewPanel] closeWithEffect: 1];
Note: See TracChangeset for help on using the changeset viewer.