Skip to content

Commit

Permalink
Handling a missing photo in photo field (#3410)
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed May 14, 2024
1 parent 0196b23 commit 0de739c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/qml/form/editors/MMFormPhotoEditor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ MMFormPhotoViewer {

title: _fieldShouldShowTitle ? _fieldTitle : ""

warningMsg: _fieldWarningMessage
warningMsg: photoState === "notAvailable" ? qsTr( "Photo is missing." ) : _fieldWarningMessage
errorMsg: _fieldErrorMessage

readOnly: _fieldIsReadOnly
Expand Down

0 comments on commit 0de739c

Please sign in to comment.