forked from qt-creator/qt-creator
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:
committed by
Henning Gründl
parent
4b72ac3022
commit
5b19c034ed
@@ -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
|
||||||
|
Reference in New Issue
Block a user