Skip to content

ComparatorWidget tolerance is not tolerant #260

Closed
@gdementen

Description

@gdementen

It does not support numbers with a decimal point.

The problem is the QDoubleValidator uses the current locale, which on my computer is currently configured as fr_BE where the decimal separator is , and thus (silently!) refuses values like 0.1, but then we use ast.literal_eval to convert the string to a float value, so entering 0,1 does not work either (still silently).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions