Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-4759

Some default properties like delegate can only be defined once. We should show an error in the text editor for this case.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • Qt Creator 2.3.0
    • Quick / QML Support
    • None

    Description

      This is not valid Qt Quick code:

      Repeater {
      Rectangle {}
      Rectangle {}
      }

      The reason is that the default property "delegate" of Repeater is not a list.

      The qml text editor should underline the second definition and show an error.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            thohartm Thomas Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes