[ImageGallery] Display camera initialization label with default label if it differs

This commit is contained in:
Aurore LAFAURIE 2024-04-24 16:59:36 +02:00
parent 6791f02f2d
commit 59650d54b3

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
}
}