Skip to content

Commit 330f998

Browse files
committed
Fix WB method reset when not using English
Use the GUI label for "Camera" instead of hard-coding it.
1 parent 1e7cedf commit 330f998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rtgui/whitebalance.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ void WhiteBalance::setWB (int vtemp, double vgreen)
10791079

10801080
void WhiteBalance::resetWB ()
10811081
{
1082-
setActiveMethod("Camera");
1082+
setActiveMethod(M("TP_WBALANCE_CAMERA"));
10831083
}
10841084

10851085
void WhiteBalance::setAdjusterBehavior (bool tempadd, bool greenadd, bool equaladd, bool tempbiasadd)

0 commit comments

Comments
 (0)