Merge pull request #2383 from alicevision/dev/displayCameraInitLabel

[ImageGallery] Display CameraInit label and defaultLabel to avoid confusion
This commit is contained in:
Fabien Castan 2024-05-20 21:55:16 +02:00 committed by GitHub
commit bab2fa910e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -674,7 +674,7 @@ Panel {
Label {
id: groupName
text: root.cameraInit ? root.cameraInit.label : ""
text: root.cameraInit ? "<b>" + root.cameraInit.label + "</b>" + (root.cameraInit.label !== root.cameraInit.defaultLabel ? " (" + root.cameraInit.defaultLabel + ")" : "") : ""
font.pointSize: 8
}
}