fix(SmartSearchBar): disable outgoing calls if necessary

This commit is contained in:
Ronan Abhamon 2018-08-10 13:15:37 +02:00
parent c59a68c2d6
commit 578e1a2765

View file

@ -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)
}
// ---------------------------------------------------------------------------