]> granicus.if.org Git - transmission/commitdiff
always unlock focus when drawing the inspector buttons
authorMitchell Livingston <livings124@transmissionbt.com>
Sun, 30 Jan 2011 19:34:38 +0000 (19:34 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Sun, 30 Jan 2011 19:34:38 +0000 (19:34 +0000)
macosx/InfoTabButtonCell.m

index 72110e93d79dff11e0e675bd2600687d1120f5a4..851102a13e514a3e1c0c70990a381bb47b4f502f 100644 (file)
                                             iconSize.width, iconSize.height);
         
         [fIcon drawInRect: iconRect fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
-        [tabImage unlockFocus];
     }
     
+    [tabImage unlockFocus];
+    
     [self setImage: tabImage];
     [tabImage release];
 }