From 578e1a276568994f0486640082656669da5f7de1 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 10 Aug 2018 13:15:37 +0200 Subject: [PATCH] fix(SmartSearchBar): disable outgoing calls if necessary --- ui/modules/Linphone/SmartSearchBar/SmartSearchBar.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/modules/Linphone/SmartSearchBar/SmartSearchBar.qml b/ui/modules/Linphone/SmartSearchBar/SmartSearchBar.qml index 57af15892..512e898b8 100644 --- a/ui/modules/Linphone/SmartSearchBar/SmartSearchBar.qml +++ b/ui/modules/Linphone/SmartSearchBar/SmartSearchBar.qml @@ -29,7 +29,7 @@ SearchBox { onEnterPressed: { var sipAddress = view.interpretableSipAddress - return sipAddress.length > 0 && searchBox.launchCall(sipAddress) + return sipAddress.length > 0 && SettingsModel.outgoingCallsEnabled && searchBox.launchCall(sipAddress) } // ---------------------------------------------------------------------------