[Viewer] Viewer2D: Fix check on image status for the resolution display

This commit is contained in:
Candice Bentéjac 2023-12-20 18:03:11 +01:00
parent 9c99efb3e4
commit d4addec996

View file

@ -1044,7 +1044,7 @@ FocusScope {
// zoom label
MLabel {
text: ((imgContainer.image && (imgContainer.image.status === Image.Ready)) ? imgContainer.scale.toFixed(2) : "1.00") + "x"
text: ((imgContainer.image && (imgContainer.image.imageStatus === Image.Ready)) ? imgContainer.scale.toFixed(2) : "1.00") + "x"
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton