Commit 7ae43958 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Revert "Revert "Make the erase mode button follow the blending mode combobox""

This was already fixed by László Fazekas, and I hadn't seen that...

This reverts commit 98a0c786.
parent 8679229b
......@@ -706,6 +706,12 @@ void KisPaintopBox::updateCompositeOp(QString compositeOpID)
if (compositeOpID != m_currCompositeOpID) {
m_currCompositeOpID = compositeOpID;
}
if (compositeOpID == COMPOSITE_ERASE) {
m_eraseModeButton->setChecked(true);
}
else {
m_eraseModeButton->setChecked(false);
}
}
}
......
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