Commit bdd4d52f authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed long-standing issue of disappearing sidebar item icons on some build configurations

(cherry picked from commit 0664335b)
parent d1b4a639
......@@ -397,7 +397,7 @@ NSString * const PXSLDeleteKeyPressedOnRowsNotification = @"PXSourceListDeleteKe
}
//Use 10.6 NSImage drawing if we can
if([icon respondsToSelector:@selector(drawInRect:fromRect:operation:fraction:respectFlipped:hints:)]) {
if(NSAppKitVersionNumber >= 1115.2) { // Lion
[icon drawInRect:iconRect
fromRect:NSZeroRect
operation:NSCompositeSourceOver
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment