This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "Allow null" in range widget (fixes #20831)
By default a range widget is built with a minimum value set to the minimal integer that is possible to represent. When "allow null" is enabled, a new value (minvalue - 1) is inserted. With the default value, we then had an integer overflow. (cherry picked from commit eb5a336)
- Loading branch information
Showing 1 changed file with 6 additions and 1 deletion.