forked from qt-creator/qt-creator
QmlDesigner: Add caption property to ColorEditor for legacy support
Old Qt5 specifics sheets specify caption property for ColorEditor, and fail to load if the property doesn't exist, so define the property for compatibility purposes. Fixes: QDS-9256 Change-Id: I6b56d98fd711d21272e914f6e167aa1cf8e07070 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
31ab5f40ff
commit
62334c2b7a
@@ -40,6 +40,8 @@ SecondColumnLayout {
|
|||||||
|
|
||||||
property bool __block: false
|
property bool __block: false
|
||||||
|
|
||||||
|
property string caption // Legacy Qt5 specifics sheets compatibility
|
||||||
|
|
||||||
function resetShapeColor() {
|
function resetShapeColor() {
|
||||||
colorEditor.backendValue.resetValue()
|
colorEditor.backendValue.resetValue()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user