From 3979cf59cee26508fbd5c062897493501330ed71 Mon Sep 17 00:00:00 2001 From: Anjani Kumar Date: Sat, 13 Feb 2021 19:17:06 +0000 Subject: [PATCH] Clears inputField when edit is cancelled. --- imports/NeoChat/Component/ChatTextInput.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imports/NeoChat/Component/ChatTextInput.qml b/imports/NeoChat/Component/ChatTextInput.qml index a2447978b..163572643 100644 --- a/imports/NeoChat/Component/ChatTextInput.qml +++ b/imports/NeoChat/Component/ChatTextInput.qml @@ -589,6 +589,9 @@ ToolBar { function clearEditReply() { isReply = false; replyUser = null; + if (root.editEventId.length > 0) { + clear(); + } root.replyContent = ""; root.replyEventID = ""; root.editEventId = "";