Commit 0664335b 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

parent 45869365
......@@ -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