Commit bf7b08b5 authored by Matthieu Gallien's avatar Matthieu Gallien 🎵
Browse files

display InlineMessage only when model is dirty (data have been modified)

parent 828fd501
......@@ -178,7 +178,7 @@ Window {
text: i18nc("Form validation error message for track data", "Data are not valid. %1", realModel.errorMessage)
type: Kirigami.MessageType.Error
showCloseButton: false
visible: !realModel.isDataValid
visible: !realModel.isDataValid && realModel.isDirty
Layout.topMargin: 5
Layout.fillWidth: true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment