From a7e783a3cfda2bc4ff6e9ef8b9a2803491a8ffa8 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Tue, 5 Jun 2018 15:48:10 +0200 Subject: [PATCH] Fix bug in BayerProcess::methodChanged () --- rtgui/bayerprocess.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rtgui/bayerprocess.cc b/rtgui/bayerprocess.cc index 72fa4c42f..26475bc90 100644 --- a/rtgui/bayerprocess.cc +++ b/rtgui/bayerprocess.cc @@ -549,14 +549,15 @@ void BayerProcess::methodChanged () } } - oldMethod = currentSelection; - if (listener && method->get_active_row_number() >= 0) { listener->panelChanged ( currentMethod == procparams::RAWParams::BayerSensor::Method::MONO || RAWParams::BayerSensor::Method(oldMethod) == procparams::RAWParams::BayerSensor::Method::MONO ? EvDemosaicMethodPreProc : EvDemosaicMethod, method->get_active_text()); } + + oldMethod = currentSelection; + } void BayerProcess::pixelShiftDemosaicMethodChanged ()