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

The itemSelectionChanged() singal is emitted multiple times when setSelected() is called on an already selected item.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.6.0
    • 4.2.3
    • Widgets: Itemviews
    • None
    • 85b7896a47f9bb622b394107769cb7c1121a6995

      Calling QTreeWidgetItem::setSelected(true) on an already selected item then itemSelectionChanged() singal will be emitted on every mouse move event on that item.

      Update: The bug seems to be that with MultiSelection, even programmatical selection will default to toggle (disregarding the (selected/unselected) argument).

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

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes