Add a lock on changing the display type

This commit is contained in:
Thomas Wilshaw
2021-04-08 11:26:32 +01:00
parent 3b2cf9d0a7
commit fae7ead021
3 changed files with 28 additions and 8 deletions
-1
View File
@@ -214,7 +214,6 @@ const QVariant &SliderBase::ClampValue(const QVariant &v)
if (has_min_ && value < min) {
return min_value_;
}else if (has_max_ && value > max) {
printf("MAX: %f\n", max_value_.value<rational>().toDouble());
return max_value_;
}