From e4a4da309cd6251cdd9761b20ece03c0b3ab9398 Mon Sep 17 00:00:00 2001 From: torger Date: Thu, 21 Nov 2013 09:09:37 +0100 Subject: [PATCH] Issue 2073: cache custom wb at open --- rtgui/whitebalance.cc | 3 +++ 1 file changed, 3 insertions(+) mode change 100644 => 100755 rtgui/whitebalance.cc diff --git a/rtgui/whitebalance.cc b/rtgui/whitebalance.cc old mode 100644 new mode 100755 index f7c5cac16..b78c53c98 --- a/rtgui/whitebalance.cc +++ b/rtgui/whitebalance.cc @@ -392,6 +392,9 @@ void WhiteBalance::read (const ProcParams* pp, const ParamsEdited* pedited) { temp->setValue (pp->wb.temperature); green->setValue (pp->wb.green); equal->setValue (pp->wb.equal); + cache_customTemp (pp->wb.temperature); + cache_customGreen (pp->wb.green); + cache_customEqual (pp->wb.equal); if (pedited) { // The user may have changed the temperature and green value temp->setEditedState (pedited->wb.temperature ? Edited : UnEdited);