Fix wrong *Sensor::Method::NONE for MONO substitution

This commit is contained in:
Flössie
2017-11-17 17:19:40 +01:00
parent e0f7c1358b
commit 0a9d81bc7f
3 changed files with 8 additions and 25 deletions

View File

@@ -162,7 +162,7 @@ void XTransProcess::methodChanged ()
if (curSelection >= 0 && curSelection < std::numeric_limits<int>::max()) {
methodName = RAWParams::XTransSensor::getMethodStrings()[curSelection];
if (method == RAWParams::XTransSensor::Method::NONE || RAWParams::XTransSensor::Method(oldSelection) == RAWParams::XTransSensor::Method::NONE) {
if (method == RAWParams::XTransSensor::Method::MONO || RAWParams::XTransSensor::Method(oldSelection) == RAWParams::XTransSensor::Method::MONO) {
ppreq = true;
}
}