Fix bug in BayerProcess::methodChanged ()

This commit is contained in:
heckflosse 2018-06-05 15:48:10 +02:00
parent 5101e1d4e7
commit a7e783a3cf

View File

@ -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 ()