Fix bug causing smsapp's '--message' argument to not pass data through

This commit is contained in:
Simon Redman 2019-03-18 15:56:01 -06:00
parent 4550dcf45b
commit 5cac399273

View file

@ -47,7 +47,7 @@ Kirigami.ScrollablePage
Component.onCompleted: { Component.onCompleted: {
if (initialMessage.length > 0) { if (initialMessage.length > 0) {
message.text = initialMessage; messageField.text = initialMessage;
initialMessage = "" initialMessage = ""
} }
} }
@ -65,11 +65,6 @@ Kirigami.ScrollablePage
enabled: false enabled: false
} }
function sendMessage() {
model.sourceModel.sendReplyToConversation(message.text)
message.text = ""
}
ListView { ListView {
id: viewport id: viewport
model: QSortFilterProxyModel { model: QSortFilterProxyModel {