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

QSqlRelationalTableModel: cannot select rows from the related table, that were added after the initial population

    XMLWordPrintable

Details

    • 2c60a4f67f9fb02f3b711fe749b2f293a07b4e02

    Description

      I have a problem with QSqlRelationalTableModel in Qt 4.6.x
      When inserting a new row to the referenced table AFTER initial population of the models,
      the selection of that new entry in the referring table fails quietly.
      May be a problem with the dictionary-population of QRelation ?

      Reproduceable on Linux/Windows (try to select "Stuttgart" after 5 sec.) with the attached example application

      Attachments

        1. 87375.pro
          0.3 kB
          Martin Petersson
        2. main.cpp
          2 kB
          Martin Petersson
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andysh Andy Shaw
            xcm Martin Petersson (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes