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->setObjectName("fuzziness");
input->setRange(0, 200);
input->setRange(1, 200);
input->setSingleStep(10);
fl->addWidget(input);
connect(input, SIGNAL(valueChanged(int)), this, SLOT(slotSetFuzziness(int)));
......
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