From 7c619f87bc61d8f2b87bd3a66da82f031fb088a6 Mon Sep 17 00:00:00 2001 From: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com> Date: Sun, 26 Nov 2023 16:25:06 -0800 Subject: [PATCH] Fix WB method reset when not using English Use the GUI label for "Camera" instead of hard-coding it. --- rtgui/whitebalance.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/whitebalance.cc b/rtgui/whitebalance.cc index f72f3bc51..2f3686242 100644 --- a/rtgui/whitebalance.cc +++ b/rtgui/whitebalance.cc @@ -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)