diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-04-20 10:09:37 +0200 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-04-20 09:53:13 +0000 |
commit | 3d8f131d6744c6888b4140b0d1d0fe8e176b6780 (patch) | |
tree | 2f891a01950117ca55b208ca78209bf31e5cfe8c /src/tools/cplusplus-update-frontend/cplusplus-update-frontend.cpp | |
parent | 53ff0e1ca16140c0fa7f0de0c79f11919d4ae8be (diff) | |
download | qt-creator-3d8f131d6744c6888b4140b0d1d0fe8e176b6780.tar.gz |
QmlDesigner: Crash fix
This is a nasty one. The text item that
triggers the crash is part of a delegate and therefore,
does not have an item in the scene.
The rewriter is now setting the id again, when reading the file after
the Rectangle is removed. we get a crash.
Since delegates are currently not shown in the navigator, this crash
could not happen before we introduced the integrated text editor.
Task-number: QTCREATORBUG-17970
Change-Id: Ica16dec5bb2f852324de179c4a2b4d43dcf27aa9
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/tools/cplusplus-update-frontend/cplusplus-update-frontend.cpp')
0 files changed, 0 insertions, 0 deletions