do not reset the highlight compression slider to 0 when doing histogram matching

Fixes #4437
This commit is contained in:
Alberto Griggio 2018-03-13 17:57:26 +01:00
parent 2e9dc11440
commit 2f0fefb26f

View File

@ -943,7 +943,6 @@ bool ToneCurve::histmatchingComputed()
brightness->setValue(0); brightness->setValue(0);
contrast->setValue(0); contrast->setValue(0);
black->setValue(0); black->setValue(0);
hlcompr->setValue(0);
if (!black->getAddMode()) { if (!black->getAddMode()) {
shcompr->set_sensitive(!((int)black->getValue() == 0)); shcompr->set_sensitive(!((int)black->getValue() == 0));