Commit e0a18e71 authored by Martin Straka's avatar Martin Straka
Browse files

Switch to sender reference number for initiatory message.

parent a402d426
......@@ -582,6 +582,16 @@ Item {
}
onPdzDmType: {
recipBoxModel.setPdzDmType(boxId, dmType)
/* Commercial message is initiatory - dmType 73. */
if (dmType === 73) {
/* Sender reference number must be filled. */
if (dmSenderRefNumber.text === "") {
tabBar.setCurrentIndex(3)
dmSenderRefNumberLabel.color = "red"
dmSenderRefNumber.placeholderText = qsTr("You must fill the value for initiatory message")
dmSenderRefNumber.forceActiveFocus()
}
}
}
} // DataboxList
}
......@@ -831,6 +841,7 @@ Item {
}
//---Our ref.number---------------------
AccessibleText {
id: dmSenderRefNumberLabel
font.bold: true
text: qsTr("Our reference number")
}
......
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