Details
Description
On Design mode, when a ListView is trying to put a delegate, QT Creator crashes.
Steps:
- Create a QML with this code:
import QtQuick 2.4 import QtQuick.Layouts 1.3 ColumnLayout { width: 400 height: 400 ListView { width: parent.width Layout.fillHeight: true Layout.fillWidth: true } }
- Open it with the Designer.
- Choose to view both, the design and the code.
- On the code, put "delegate: Rectangle {".
import QtQuick 2.4 import QtQuick.Layouts 1.3 ColumnLayout { width: 400 height: 400 ListView { width: parent.width Layout.fillHeight: true Layout.fillWidth: true delegate: Rectangle { } }
- When press enter after {, creator crashes.
Attachments
For Gerrit Dashboard: QTCREATORBUG-19190 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
211412,2 | QmlDesigner: fix crash while adding a delegate | 4.5 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |