Skip to content
Commit 896ddd0c authored by Carsten Hartenfels's avatar Carsten Hartenfels Committed by Dmitry Kazakov
Browse files

Fix disabling blend mode combo for MyPaint brushes

MyPaint brushes don't support custom blend modes, they always use what
MyPaint calls "Normal and Erase". The code already made an attempt to
disable the blend mode combo box to represent that, but switching tools
caused it to re-enable itself, despite having no effect.

This commit fixes that: the brush blend mode combo box gets disabled
upon switching tools if a MyPaint brush preset is selected. It also adds
a comment explaining the reason behind that rather non-obvious special
case.

BUG: 445206


(cherry picked from commit 1576bf60)
parent cbac25da
Pipeline #227910 passed with stage
in 1 hour, 36 minutes, and 52 seconds
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