Skip to content

[panelview] Avoid assert if max < min

David Edmundson requested to merge work/d_ed/clamps into master

Max and min are calculated from two completely different sources.

There's scope for them to not be the expected way round.

We have an assert reported on this line due to a subtle qBound -> std::clamp porting difference on GCC with debug flags on.

BUG: 454064

Merge request reports