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

Changing model for the view crashes the qml-application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.2.1
    • None
    • Windows 7 Pro x64, qt-everywhere-opensource-src-5.2.1, MSVC 2010

    Description

      There is three models. First model varModel contains variables. Second paramModel1 and third paramModel2 model contains mapping between parameters and variables from first model.

      The top of the window (see attached project) contains TableView of the varModel model (varName-varValue columns).
      Below view is situated green button, that adds variables to varModel model using append method.
      Below green button is situated yellow button, that choose which model (paramModel1 or paramModel2) is displayed in the ListView at the bottom of the window.

      After application starts the bottom view displays paramModel1.
      Steps to reproduce the bug:
      1. Click on yellow button. The bottom view will display paramModel2;
      2. Click on green button. Application will crash.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            aleksey.khokhryakov Aleksey Khokhryakov
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes