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

ModelNode::setObjectValue does not update objectCache

XMLWordPrintable

    • 47b33bcb65b642d808251bed7e38fc36a3e89bfc

      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
      >>

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes