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

ModelNode::setObjectValue does not update objectCache

    XMLWordPrintable

Details

    • 47b33bcb65b642d808251bed7e38fc36a3e89bfc

    Description

      ModelNode::setObjectValue method does not update objectCache. (But ModelNode::setProperty does).
      Reproduce:

      >>
      model.setProperty(0, "test", true);
      console.log(model.get(0).test); // output: true
      model.set(0,

      {test: false}

      );
      console.log(model.get(0).test); // output: true, but attribute is successfully updated to false
      >>

      Attachments

        Issue Links

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

          Activity

            People

              bealam Bea Lam (closed Nokia identity) (Inactive)
              kolam Paul Kolomiets
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes