forked from qt-creator/qt-creator
QmlDesigner: Remove textRole workaround from EdittableListView
Workaround is no longer needed as proper specifics are already in currently supported Qt kits. Change-Id: I3f67e8716c2cf2c217319d3e61728fca246e073f Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -24,9 +24,7 @@ Item {
|
||||
property real __actionIndicatorWidth: StudioTheme.Values.squareComponentWidth
|
||||
property real __actionIndicatorHeight: StudioTheme.Values.height
|
||||
property string typeFilter: "QtQuick3D.Material"
|
||||
// This binding is a workaround to overcome the rather long adaption to new Qt versions. This
|
||||
// should actually be fixed in the ModelSection.qml by setting the textRole: "idAndName".
|
||||
property string textRole: (root.typeFilter === "QtQuick3D.Material") ? "idAndName" : "id"
|
||||
property string textRole: "id"
|
||||
property string valueRole: "id"
|
||||
property int activatedReason: ComboBox.ActivatedReason.Other
|
||||
|
||||
|
Reference in New Issue
Block a user