Skip to content

Commit

Permalink
Do not show photo inputs in read-only mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasMizera committed May 24, 2024
1 parent 38fe87a commit 50a86f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/qml/form/components/photo/MMPhotoAttachment.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ Rectangle {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
elide: Text.ElideMiddle

visible: root.enabled
}
}

Expand Down Expand Up @@ -95,6 +97,8 @@ Rectangle {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
elide: Text.ElideMiddle

visible: root.enabled
}
}

Expand Down

0 comments on commit 50a86f8

Please sign in to comment.