QmlDesigner: Remove error states editor

Remove the error "Unable to assign [undefined] to QUrl" thrown by the
states editor.

Change-Id: Ic48deddbe698f161f486003ccaf9eb22d0ee65a9
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2022-11-28 12:42:28 +01:00
committed by Henning Gründl
parent 4b72ac3022
commit 5b19c034ed

View File

@@ -553,7 +553,7 @@ Rectangle {
baseState: true baseState: true
defaultChecked: !statesEditorModel.baseState.modelHasDefaultState // TODO Make this one a model property defaultChecked: !statesEditorModel.baseState.modelHasDefaultState // TODO Make this one a model property
isChecked: root.currentStateInternalId === 0 isChecked: root.currentStateInternalId === 0
thumbnailImageSource: statesEditorModel.baseState.stateImageSource // TODO Get rid of the QVariantMap thumbnailImageSource: statesEditorModel.baseState.stateImageSource ?? "" // TODO Get rid of the QVariantMap
isTiny: root.tinyMode isTiny: root.tinyMode
onFocusSignal: root.currentStateInternalId = 0 onFocusSignal: root.currentStateInternalId = 0