From b1521ebf04b01416624defae6188e46dd56e4336 Mon Sep 17 00:00:00 2001 From: gaelle Date: Mon, 21 Oct 2024 15:10:51 +0200 Subject: [PATCH] fix #LINQT-1342 reset magic search bar when call created --- Linphone/view/Page/Layout/Main/MainLayout.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Linphone/view/Page/Layout/Main/MainLayout.qml b/Linphone/view/Page/Layout/Main/MainLayout.qml index e6c66ad8..f0f1c5e3 100644 --- a/Linphone/view/Page/Layout/Main/MainLayout.qml +++ b/Linphone/view/Page/Layout/Main/MainLayout.qml @@ -163,6 +163,14 @@ Item { mainItem.openNumPadRequest() } } + Connections { + target: mainItem + function onCallCreated() { + magicSearchBar.focus = false + magicSearchBar.clearText() + } + } + onTextChanged: { if (text.length != 0) listPopup.open() else listPopup.close()