From 5cac3992738d3e43a208546d8100cdcd55d8577d Mon Sep 17 00:00:00 2001 From: Simon Redman Date: Mon, 18 Mar 2019 15:56:01 -0600 Subject: [PATCH] Fix bug causing smsapp's '--message' argument to not pass data through --- smsapp/qml/ConversationDisplay.qml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/smsapp/qml/ConversationDisplay.qml b/smsapp/qml/ConversationDisplay.qml index 23508bf37..9405ba833 100644 --- a/smsapp/qml/ConversationDisplay.qml +++ b/smsapp/qml/ConversationDisplay.qml @@ -47,7 +47,7 @@ Kirigami.ScrollablePage Component.onCompleted: { if (initialMessage.length > 0) { - message.text = initialMessage; + messageField.text = initialMessage; initialMessage = "" } } @@ -65,11 +65,6 @@ Kirigami.ScrollablePage enabled: false } - function sendMessage() { - model.sourceModel.sendReplyToConversation(message.text) - message.text = "" - } - ListView { id: viewport model: QSortFilterProxyModel {