diff --git a/src/qml/Component/ChatBox/ChatBar.qml b/src/qml/Component/ChatBox/ChatBar.qml index 1cf957c4b..328c88177 100644 --- a/src/qml/Component/ChatBox/ChatBar.qml +++ b/src/qml/Component/ChatBox/ChatBar.qml @@ -16,7 +16,6 @@ QQC2.ToolBar { property alias textField: inputField property alias cursorPosition: inputField.cursorPosition - signal closeAllTriggered() signal inputFieldForceActiveFocusTriggered() signal messageSent() diff --git a/src/qml/Component/ChatBox/ChatBox.qml b/src/qml/Component/ChatBox/ChatBox.qml index bf7d5523a..5b2a6db62 100644 --- a/src/qml/Component/ChatBox/ChatBox.qml +++ b/src/qml/Component/ChatBox/ChatBox.qml @@ -87,9 +87,7 @@ ColumnLayout { Layout.fillWidth: true - onCloseAllTriggered: closeAll() onMessageSent: { - closeAll() chatBox.messageSent(); } @@ -111,9 +109,4 @@ ColumnLayout { function focusInputField() { chatBar.inputFieldForceActiveFocusTriggered() } - - function closeAll() { - // TODO clear(); - chatBar.emojiPaneOpened = false; - } }