From: Mitchell Livingston Date: Sun, 30 Jan 2011 19:34:38 +0000 (+0000) Subject: always unlock focus when drawing the inspector buttons X-Git-Tag: 2.20b4~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=985f1fd4859efa6a028e9d038cebd25052d7160d;p=transmission always unlock focus when drawing the inspector buttons --- diff --git a/macosx/InfoTabButtonCell.m b/macosx/InfoTabButtonCell.m index 72110e93d..851102a13 100644 --- a/macosx/InfoTabButtonCell.m +++ b/macosx/InfoTabButtonCell.m @@ -96,9 +96,10 @@ iconSize.width, iconSize.height); [fIcon drawInRect: iconRect fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0]; - [tabImage unlockFocus]; } + [tabImage unlockFocus]; + [self setImage: tabImage]; [tabImage release]; }