Fix bug in BayerProcess::methodChanged ()
This commit is contained in:
parent
5101e1d4e7
commit
a7e783a3cf
@ -549,14 +549,15 @@ void BayerProcess::methodChanged ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
oldMethod = currentSelection;
|
|
||||||
|
|
||||||
if (listener && method->get_active_row_number() >= 0) {
|
if (listener && method->get_active_row_number() >= 0) {
|
||||||
listener->panelChanged (
|
listener->panelChanged (
|
||||||
currentMethod == procparams::RAWParams::BayerSensor::Method::MONO || RAWParams::BayerSensor::Method(oldMethod) == procparams::RAWParams::BayerSensor::Method::MONO
|
currentMethod == procparams::RAWParams::BayerSensor::Method::MONO || RAWParams::BayerSensor::Method(oldMethod) == procparams::RAWParams::BayerSensor::Method::MONO
|
||||||
? EvDemosaicMethodPreProc
|
? EvDemosaicMethodPreProc
|
||||||
: EvDemosaicMethod, method->get_active_text());
|
: EvDemosaicMethod, method->get_active_text());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
oldMethod = currentSelection;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void BayerProcess::pixelShiftDemosaicMethodChanged ()
|
void BayerProcess::pixelShiftDemosaicMethodChanged ()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user