always unlock focus when drawing the inspector buttons

This commit is contained in:
Mitchell Livingston 2011-01-30 19:34:38 +00:00
parent 444847fe35
commit 985f1fd485
1 changed files with 2 additions and 1 deletions

View File

@ -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];
}