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

QComboBox: string in the model does not match the displayed text for current item.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.4.3
    • Other
    • None

      When subclassing QAbstractListModel to return a QString that is formatted with \t, then installing this model on a QComboBox the QString will appear formatted correctly in the QComboBox's drop down list but in the QComboBox's QLineEdit the tabs will be replaced with single spaces.
      It seems like the string that is in the model should match the text that is displayed as the current item.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes