Behaviour of the history of the HL recovery tool has been normalized, bug correction in the preference window (messages of the dark frame tools weren't handling special chars).

This commit is contained in:
Hombre
2011-01-20 02:57:02 +01:00
parent b17a439536
commit d1ec868d14
6 changed files with 44 additions and 39 deletions

View File

@@ -230,8 +230,10 @@ void ToneCurve::adjusterChanged (Adjuster* a, double newval) {
listener->panelChanged (EvContrast, costr);
else if (a==saturation)
listener->panelChanged (EvSaturation, costr);
else if (a==hlcompr || a==hlcomprthresh)
listener->panelChanged (EvHLCompr, Glib::ustring::compose ("%1=%2\n%3=%4",M("TP_EXPOSURE_COMPRHIGHLIGHTS"),(int)hlcompr->getValue(),M("TP_EXPOSURE_COMPRHIGHLIGHTSTHRESHOLD"),(int)hlcomprthresh->getValue()));
else if (a==hlcompr)
listener->panelChanged (EvHLCompr, costr);
else if (a==hlcomprthresh)
listener->panelChanged (EvHLComprThreshold, costr);
else if (a==shcompr)
listener->panelChanged (EvSHCompr, costr);
}