Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
Qt Creator 4.5.0-rc1
-
macOS 10.11, QC 4.5 RC snapshot
Description
Steps to reproduce:
- open/create a Qml project using states (and open the file with the states inside the Designer)
- make sure to activate the integrated text editor & have current document state saved
- rename one or two states inside the integrated editor
- save the document
- even now the state names aren't updated inside the state indicators (below the preview)
- click into the text edits of the state indicators
- if you have more than one additional state click into their text edits (holding their name) as well
- you can see that the bar holding the line numbers gets markers of changed document lines (at least the lines with the state names, probably even more surrounding)
- switch to "normal" Edit mode
- the states where you had clicked into the respective states name line edits now have their old name again (the names that had been displayed inside the states marker)
- document is marked as unsaved as it contains modifications
Note: renaming states with the text edit of a state marker does not update the source code, too.
Attachments
For Gerrit Dashboard: QTCREATORBUG-19283 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
211230,4 | QmlDesigner: Update state names if edited in text | 4.5 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |