Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-2999

Qt Creator crashes when edit List Model in Design mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • QDS 2.0
    • QDS 1.6.1
    • All Other Issues
    • None
    • All
    • QDS H160 - 44/45

      1. Create new QML project.
      2. Select main.qml file.
      3. Switch to Design mode.
      4. Drag List View (or Grid View) to Form.
      5. Right click on a View -> Edit List Model ...
      6. Double click to the right of the right header.
         
      7. Creator crashes.

      I suppose in QmlDesigner::ListModelEditorDialog::changeHeader() the value of the column acts as an array index without checking for validity, although the connected signal QHeaderView::sectionDoubleClicked in this case gives -1.

       

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

            bubke Marco Bubke
            dmitriy_user Dmitriy M
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes