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

When a history state is included inside a parent state then it is excluded from the generated code for the state machine

XMLWordPrintable

    • macOS

      When a history state is included inside a parent state then it is excluded from the generated code for the state machine. In the attached example, the history state is inside the Window state, as a result when you try to trigger the doorClosed state it will have the wrong index and it fails to trigger any bindings attached to that state.

      This is because the generated code does not include the history state which means the indexes are off by one after where that state would have been included.

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

            manordheim MÃ¥rten Nordheim
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes