]> granicus.if.org Git - transmission/commitdiff
update quicklook when switch tabs to the file tab
authorMitchell Livingston <livings124@transmissionbt.com>
Tue, 20 May 2008 23:57:42 +0000 (23:57 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Tue, 20 May 2008 23:57:42 +0000 (23:57 +0000)
macosx/InfoWindowController.m

index d65d0ce7506e7482c40f219cc3137614d5b782ba..54c617c15f2e508697c7c70eba40da42eae72bbf 100644 (file)
@@ -735,6 +735,9 @@ typedef enum
     [window setFrame: windowRect display: YES animate: oldTabTag != INVALID];
     [[window contentView] addSubview: view];
     [view setHidden: NO];
+    
+    if (fCurrentTabTag == TAB_FILES_TAG)
+        [self updateQuickLook];
 }
 
 - (void) setNextTab