Fix WB method reset when not using English

Use the GUI label for "Camera" instead of hard-coding it.
This commit is contained in:
Lawrence Lee 2023-11-26 16:25:06 -08:00
parent 339fdd9f04
commit 7c619f87bc
No known key found for this signature in database
GPG Key ID: 048FF2B76A63895F

View File

@ -1079,7 +1079,7 @@ void WhiteBalance::setWB (int vtemp, double vgreen)
void WhiteBalance::resetWB ()
{
setActiveMethod("Camera");
setActiveMethod(M("TP_WBALANCE_CAMERA"));
}
void WhiteBalance::setAdjusterBehavior (bool tempadd, bool greenadd, bool equaladd, bool tempbiasadd)