fix(metadata): restore editor mounting
Remove an unsupported shared-button property that invalidated the workspace type lazily in both AlbumView and ephemeral surfaces. cx
This commit is contained in:
2 files changed
+4
-1
No files matched your search
@@ -912,7 +912,6 @@ Item {
|
||||
SettingsButton {
|
||||
text: workspace.editor.tr("Apply to form")
|
||||
iconName: "download"
|
||||
primary: true
|
||||
minWidth: 0
|
||||
onClicked: workspace.editor.applyRemote()
|
||||
}
|
||||
|
||||
@@ -1850,5 +1850,9 @@ mod tests {
|
||||
assert!(workspace
|
||||
.contains("visible: QbzTagEditor.artworkSearching || QbzTagEditor.artworkLoading"));
|
||||
assert!(workspace.contains("id: lookupCard"));
|
||||
// SettingsButton is the shared secondary settings control and has no
|
||||
// `primary` property. An unknown assignment invalidates the entire QML
|
||||
// type lazily, so neither AlbumView nor ephemeral can mount the editor.
|
||||
assert!(!workspace.contains("primary: true"));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user