Commit df825790 authored by Saurabh  Kumar's avatar Saurabh Kumar 😌

Make Add subbrush off on changing multibrush tool's type from Copy Translate

This commit makes the Add option of subbrush off when changing from
Copy Translate type to any other type. The option is toggled off
even for Copy Translate type of multibrush. Previously the Add
option stayed on and drawing with other tools was not possible unless
it was turned off.

BUG:415651
parent 3f0ff1a8
......@@ -536,6 +536,7 @@ void KisToolMultihand::slotSetTransformMode(int index)
customUI->subbrushLabel->setVisible(false);
customUI->addSubbrushButton->setVisible(false);
customUI->removeSubbrushButton->setVisible(false);
m_addSubbrushesMode = 0;
// turn on what we need
if (index == MIRROR) {
......@@ -558,6 +559,7 @@ void KisToolMultihand::slotSetTransformMode(int index)
else if (index == COPYTRANSLATE) {
customUI->subbrushLabel->setVisible(true);
customUI->addSubbrushButton->setVisible(true);
customUI->addSubbrushButton->setChecked(false);
customUI->removeSubbrushButton->setVisible(true);
}
......
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