Suggestion to set field_attribute precision on FloatEditor decimals.

6 views
Skip to first unread message

Wavemaker

unread,
Jun 13, 2019, 7:06:48 PM6/13/19
to Project Camelot
At present, when applying filters Column with type float, the number of decimals in the search field is fixed at 2. I'd suggest changing that to the precision as set in the field_attributes for the column.

The change would be as follows on line 165 in view/controls/editors/floateditor.py :
< spinBox.setDecimals(2)
> spinBox.setDecimals(kwargs['precision'])
Reply all
Reply to author
Forward
0 new messages