mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
fix auto fill address field when creating contact from call page
fix missing from #LINQT-1605
This commit is contained in:
parent
d2ddf01144
commit
5283a7c250
2 changed files with 6 additions and 5 deletions
|
|
@ -132,12 +132,14 @@ AbstractSettingsLayout {
|
|||
id: audioCodecsComponent
|
||||
ColumnLayout {
|
||||
spacing: 20 * DefaultStyle.dp
|
||||
Repeater {
|
||||
ListView {
|
||||
Layout.preferredHeight: contentHeight
|
||||
Layout.fillWidth: true
|
||||
model: PayloadTypeProxy {
|
||||
filterType: PayloadTypeProxy.Audio | PayloadTypeProxy.NotDownloadable
|
||||
}
|
||||
SwitchSetting {
|
||||
Layout.fillWidth: true
|
||||
delegate: SwitchSetting {
|
||||
width: parent.width
|
||||
titleText: Utils.capitalizeFirstLetter(modelData.core.mimeType)
|
||||
subTitleText: modelData.core.clockRate + " Hz"
|
||||
propertyName: "enabled"
|
||||
|
|
|
|||
|
|
@ -56,8 +56,7 @@ AbstractMainPage {
|
|||
}', mainItem)
|
||||
friendGui.core.givenName = UtilsCpp.getGivenNameFromFullName(name)
|
||||
friendGui.core.familyName = UtilsCpp.getFamilyNameFromFullName(name)
|
||||
friendGui.core.defaultAddress = address
|
||||
friendGui.core.defaultFullAddress = address
|
||||
friendGui.core.appendAddress(address)
|
||||
if (!rightPanelStackView.currentItem || rightPanelStackView.currentItem.objectName != "contactEdition")
|
||||
rightPanelStackView.push(contactEdition, {"contact": friendGui, "title": qsTr("Nouveau contact"), "saveButtonText": qsTr("Créer")})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue