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:
vicrodh committed 2026-08-24 22:00:22 -06:00
1 parent 5e759fab50
commit 635b8b3a45
2 files changed
+4 -1

No files matched your search

@@ -912,7 +912,6 @@ Item {
SettingsButton { SettingsButton {
text: workspace.editor.tr("Apply to form") text: workspace.editor.tr("Apply to form")
iconName: "download" iconName: "download"
primary: true
minWidth: 0 minWidth: 0
onClicked: workspace.editor.applyRemote() onClicked: workspace.editor.applyRemote()
} }
+4
View File
@@ -1850,5 +1850,9 @@ mod tests {
assert!(workspace assert!(workspace
.contains("visible: QbzTagEditor.artworkSearching || QbzTagEditor.artworkLoading")); .contains("visible: QbzTagEditor.artworkSearching || QbzTagEditor.artworkLoading"));
assert!(workspace.contains("id: lookupCard")); 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"));
} }
} }