From 4dbfd7c68928cb9397bc34033631591ace6f0435 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 21 Feb 2017 12:12:39 +0100 Subject: [PATCH] feat(ui/modules/Common/Form/SearchBox): little fix --- linphone-desktop/ui/modules/Common/Form/+linux/SearchBox.qml | 2 +- linphone-desktop/ui/modules/Common/Form/SearchBox.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linphone-desktop/ui/modules/Common/Form/+linux/SearchBox.qml b/linphone-desktop/ui/modules/Common/Form/+linux/SearchBox.qml index 2d0d3654f..9398f5a96 100644 --- a/linphone-desktop/ui/modules/Common/Form/+linux/SearchBox.qml +++ b/linphone-desktop/ui/modules/Common/Form/+linux/SearchBox.qml @@ -75,7 +75,7 @@ Item { } onActiveFocusChanged: { - if (activeFocus) { + if (activeFocus && !_isOpen) { searchBox.menuRequested() searchBox.showMenu() } diff --git a/linphone-desktop/ui/modules/Common/Form/SearchBox.qml b/linphone-desktop/ui/modules/Common/Form/SearchBox.qml index 2e197ae9b..401218c34 100644 --- a/linphone-desktop/ui/modules/Common/Form/SearchBox.qml +++ b/linphone-desktop/ui/modules/Common/Form/SearchBox.qml @@ -88,7 +88,7 @@ Item { } onActiveFocusChanged: { - if (activeFocus) { + if (activeFocus && !_isOpen) { searchBox.menuRequested() searchBox.showMenu() }