use the right precision (2 digits) for the history entry of AWB temp bias

This commit is contained in:
Alberto Griggio 2017-02-16 18:38:57 +01:00
parent 1b30493bd7
commit e66cc8f3fa

View File

@ -397,7 +397,7 @@ void WhiteBalance::adjusterChanged (Adjuster* a, double newval)
} else if (a == equal) {
listener->panelChanged (EvWBequal, Glib::ustring::format (std::setw(4), std::fixed, std::setprecision(3), a->getValue()));
} else if (a == tempBias) {
listener->panelChanged (EvWBtempBias, Glib::ustring::format (std::setw(4), std::fixed, std::setprecision(3), a->getValue()));
listener->panelChanged (EvWBtempBias, Glib::ustring::format (std::setw(4), std::fixed, std::setprecision(2), a->getValue()));
}
}
}