diff --git a/src/RideEditor.cpp b/src/RideEditor.cpp index a258ad046..43a8ee578 100644 --- a/src/RideEditor.cpp +++ b/src/RideEditor.cpp @@ -1708,7 +1708,8 @@ FindDialog::find() switch(type->currentIndex()) { case 0 : // between - if (value >= from->value() && value <= to->value()) match = true; + if ((value >= from->value() && value <= to->value()) || + (value <= from->value() && value >= to->value())) match = true; break; case 1 : // not between