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

Binding will be falsely added as custom/local property

    XMLWordPrintable

Details

    • All

    Description

      When having code like this

      Rectangle {
          id: rectangle
          width: Constants.width
          ...
      

      adding a new property by writing in the code editor in between id and width will make width a local property...
      To reproduce start typing

      Rectangle {
          id: rectangle
          property int
          width: Constants.width
          ...
      

      stop shortly and then finish the property

      Rectangle {
          id: rectangle
          property int test: 123
          width: Constants.width
          ...
      

      test will become a local property, but width will still be a local property even after deselecting and selecting the item.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            henning Henning Gründl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes