Skip to content

Commit

Permalink
[ui] ImageGallery: use CameraInit label instead of name
Browse files Browse the repository at this point in the history
  • Loading branch information
mugulmd committed Jun 9, 2023
1 parent 30c3e08 commit e81e337
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions meshroom/ui/qml/ImageGallery/ImageGallery.qml
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ Panel {
text: MaterialIcons.navigate_before
property string previousGroupName: {
if (root.cameraInits && root.cameraInitIndex - 1 >= 0) {
return root.cameraInits.at(root.cameraInitIndex - 1).name
return root.cameraInits.at(root.cameraInitIndex - 1).label
}
return ""
}
Expand Down Expand Up @@ -613,7 +613,7 @@ Panel {
text: MaterialIcons.navigate_next
property string nextGroupName: {
if (root.cameraInits && root.cameraInitIndex + 1 < root.cameraInits.count) {
return root.cameraInits.at(root.cameraInitIndex + 1).name
return root.cameraInits.at(root.cameraInitIndex + 1).label
}
return ""
}
Expand All @@ -632,7 +632,7 @@ Panel {

Label {
id: groupName
text: root.cameraInit ? root.cameraInit.name : ""
text: root.cameraInit ? root.cameraInit.label : ""
font.pointSize: 8
}
}
Expand Down

0 comments on commit e81e337

Please sign in to comment.