Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 12.0.2
-
None
Description
With this syntax, I the cursor is at the end of the `delegate.row;` and then return is pressed, the line that is inserted is indented too much.
The alternative function(event) syntax below puts the correct indent.
Keys.onPressed: (event) => { let row = delegate.row; [cursor]
Keys.onPressed: function(event) { let row = delegate.row [cursor]
This is reproduced with Qt Creator 12.0.2.