Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31205

QDoubleSpinBox - Pasting a double not rounding it

    XMLWordPrintable

Details

    Description

      If I have a QDoubleSpinBox with decimals set to 2, and I try to paste in 99.456 nothing happens. It would be reasonable (and I would expect it to) paste in 99.46.

      From the docs:

      Note: QDoubleSpinBox will round numbers so they can be displayed with the current precision.

      Attachments

        For Gerrit Dashboard: QTBUG-31205
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            asm Andy M
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes