Commit 578e1a27 authored by Ronan's avatar Ronan

fix(SmartSearchBar): disable outgoing calls if necessary

parent c59a68c2
Pipeline #262 failed with stage
in 0 seconds
......@@ -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)
}
// ---------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment