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

When I create a QTreeWidgetItem and set its check state with setCheckState, once the interface finishes rendering, if I directly check the checkbox without clicking on any QTreeWidgetItem first, the program will crash immediately.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.7.2
    • Widgets: Itemviews

      When I create a QTreeWidgetItem and set its check state using setCheckState, if I directly check the checkbox without clicking on any QTreeWidgetItem after the interface finishes rendering, the program will crash immediately. I have to set a current item for the tree view (using setCurrentItem) during initialization to be able to check the checkbox directly.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            swate_h 申 昊
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes