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

QComboBox should remove the last item and insert at top when max count is reached and insertion policy is insertAtTop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • Some future release
    • 4.3.1
    • Other
    • None

    Description

      In Qt 3 when the maxCount() was reached and the insertionPolicy() was e.g insertAtTop then the last item in the QComboBox would be removed and the new item would be inserted at the top. In Qt 4, the item will not be inserted in this case however, but it should be and the last item should be removed. Similarly, the last item should be removed and the new one inserted for InsertAfterCurrent (unless current is the bottom), InsertBeforeCurrent, and InsertAlphabetically (except when last).

      Attachments

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

        Activity

          People

            bjnilsen Bjørn Erik Nilsen
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes