Block value as text in scene (and colorbar) does not format well

Issue #111 resolved
Angus Yeh repo owner created an issue

Maybe setting is required? John complains that the string would end-up having too many significant digits, which makes it hard to see.

Comments (2)

  1. Angus Yeh reporter

    I think this ONLY happens when someone edit the values in ROCKS or GENER table???

    This is caused by that when user edit the table, the value is then converted into float instead of double from QVariant type.

    However, I should still consider actually limit the text length???

  2. Angus Yeh reporter

    Fix issue #111 when user edit a value in ROCKS/GENER table, the text in scene showed too many significant digits.

    QVariant.toFloat() corrected to .toDouble(). I was actually loosing precision when user edits the tables.

    → <<cset ed595a128993>>

  3. Log in to comment