Fix for bug 397995
ClosedPublic

Authored by amedonosova on Aug 29 2018, 12:23 PM.

Details

Summary

Fix for bug 397995.

When you activate the "Edit Shapes Tool", but select no shape, any change of foreground color from any selector triggers the mentioned assert.

With this patch the condition is checked before trying to apply color to no shapes, so the assert is gone. I have tested changing fill color of selected shapes by clicking the selectors and in the tools docker, both works.

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.
amedonosova created this revision.Aug 29 2018, 12:23 PM
Restricted Application added a project: Krita. · View Herald TranscriptAug 29 2018, 12:23 PM
amedonosova requested review of this revision.Aug 29 2018, 12:23 PM
This revision was not accepted when it landed; it landed in state Needs Review.Aug 31 2018, 11:52 AM
This revision was automatically updated to reflect the committed changes.