Commit 73ab3005 authored by Agata Cacko's avatar Agata Cacko

Fix 0 fuzziness in Similar Color Selection Tool

In Contiguous Color Selection Tool the fuzziness slider goes from 1 up.
In Similar Color Selection Tool in the code there is an explicit check
for fuzziness = 1 with an assumption there is no fuzziness lower than 1.
However the slider didn't conform to that before this commit.
This commit fixes this situation, now the fuzziness slider for Similar
Color Selection Tool goes from 1 up.
parent 23842d24
......@@ -168,7 +168,7 @@ QWidget* KisToolSelectSimilar::createOptionWidget()
KisSliderSpinBox* input = new KisSliderSpinBox(selectionWidget);
input->setRange(0, 200);
input->setRange(1, 200);
connect(input, SIGNAL(valueChanged(int)), this, SLOT(slotSetFuzziness(int)));
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment