mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
fix(SmartSearchBar): hide "add button" if contacts are disabled
This commit is contained in:
parent
cf61cd4065
commit
7c5c1255d5
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ SearchBox {
|
|||
|
||||
headerButtonDescription: qsTr('addContact')
|
||||
headerButtonIcon: 'contact_add'
|
||||
headerButtonAction: (function (sipAddress) {
|
||||
headerButtonAction: SettingsModel.contactsEnabled && (function (sipAddress) {
|
||||
searchBox.closeMenu()
|
||||
searchBox.addContact(sipAddress)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue