Mentions légales du service

Skip to content
Snippets Groups Projects
Commit cf0892f9 authored by ORDRONNEAU Camille's avatar ORDRONNEAU Camille
Browse files

Add comment on bug

parent c1cd66de
No related branches found
No related tags found
1 merge request!90Remove max bound on interval selection
Pipeline #1011096 passed
......@@ -136,6 +136,11 @@ void Interval_select::update_values() {
}
void Interval_select::on_minSpinBox_valueChanged(double value) {
/**
* This method can also change the maxSpinBox value on large trace
* This is due to scaled float precision error in the apply_zoom_box function (called by apply_settings)
*/
QPalette myPalette(minSpinBox->palette());
if (value < maxSpinBox->value()) {
......@@ -165,6 +170,10 @@ void Interval_select::on_minSpinBox_valueChanged(double value) {
}
void Interval_select::on_maxSpinBox_valueChanged(double value) {
/**
* This method can also change the minSpinBox value on large trace
* This is due to scaled float precision error in the apply_zoom_box function (called by apply_settings)
*/
QPalette myPalette(minSpinBox->palette());
if (value > minSpinBox->value()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment