From 985f1fd4859efa6a028e9d038cebd25052d7160d Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 30 Jan 2011 19:34:38 +0000 Subject: [PATCH] always unlock focus when drawing the inspector buttons --- macosx/InfoTabButtonCell.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]; }