Commit a6a6626b authored by Jouni Pentikäinen's avatar Jouni Pentikäinen

Fix erase mode not showing correctly when returning to brush tool

BUG: 380340
parent 76182152
......@@ -702,7 +702,7 @@ void KisPaintopBox::updateCompositeOp(QString compositeOpID)
if (compositeOpID != m_currCompositeOpID) {
m_currCompositeOpID = compositeOpID;
}
if (compositeOpID == COMPOSITE_ERASE) {
if (compositeOpID == COMPOSITE_ERASE || m_resourceProvider->eraserMode()) {
m_eraseModeButton->setChecked(true);
}
else {
......
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