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

QTreeWidget automatically selects a new item when selected is removed

    XMLWordPrintable

Details

    • All

    Description

      If QTreeWidget is set to SingleSelection mode and an item is selected, when removing the selected item, QTreeWidget automatically selects a new item. This does not happen with other selection modes.

      There are ways to workaround this issue, for example deselect selected item, but I think that QTreeWidget should not automatically select new item.

      I have attached an example project to demonstrate this issue

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            pekarjal Pekka Karjalainen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes