Fix crash when using K and L shortcuts
ClosedPublic

Authored by dkazakov on Aug 11 2016, 10:32 AM.

Details

Summary

We shouldn't fetch the RGB triplets from the grayscale color data

Fixes T3442
BUG:366378

Test Plan

I'm not sure if other methods of LcmsColorProfileContainer need changes like that...

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dkazakov updated this revision to Diff 5825.Aug 11 2016, 10:32 AM
dkazakov retitled this revision from to Fix crash when using K and L shortcuts.
dkazakov updated this object.
dkazakov edited the test plan for this revision. (Show Details)
dkazakov edited the test plan for this revision. (Show Details)Aug 11 2016, 10:33 AM
dkazakov added reviewers: Krita, woltherav.
woltherav accepted this revision.Aug 11 2016, 1:04 PM
woltherav edited edge metadata.

Looks good to me, my programming skills aren't good enough to tell what I did wrong in the first place though...

This revision is now accepted and ready to land.Aug 11 2016, 1:04 PM
This revision was automatically updated to reflect the committed changes.