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
|
id: audioCodecsComponent
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
spacing: 20 * DefaultStyle.dp
|
spacing: 20 * DefaultStyle.dp
|
||||||
Repeater {
|
ListView {
|
||||||
|
Layout.preferredHeight: contentHeight
|
||||||
|
Layout.fillWidth: true
|
||||||
model: PayloadTypeProxy {
|
model: PayloadTypeProxy {
|
||||||
filterType: PayloadTypeProxy.Audio | PayloadTypeProxy.NotDownloadable
|
filterType: PayloadTypeProxy.Audio | PayloadTypeProxy.NotDownloadable
|
||||||
}
|
}
|
||||||
SwitchSetting {
|
delegate: SwitchSetting {
|
||||||
Layout.fillWidth: true
|
width: parent.width
|
||||||
titleText: Utils.capitalizeFirstLetter(modelData.core.mimeType)
|
titleText: Utils.capitalizeFirstLetter(modelData.core.mimeType)
|
||||||
subTitleText: modelData.core.clockRate + " Hz"
|
subTitleText: modelData.core.clockRate + " Hz"
|
||||||
propertyName: "enabled"
|
propertyName: "enabled"
|
||||||
|
|
|
||||||
|
|
@ -56,8 +56,7 @@ AbstractMainPage {
|
||||||
}', mainItem)
|
}', mainItem)
|
||||||
friendGui.core.givenName = UtilsCpp.getGivenNameFromFullName(name)
|
friendGui.core.givenName = UtilsCpp.getGivenNameFromFullName(name)
|
||||||
friendGui.core.familyName = UtilsCpp.getFamilyNameFromFullName(name)
|
friendGui.core.familyName = UtilsCpp.getFamilyNameFromFullName(name)
|
||||||
friendGui.core.defaultAddress = address
|
friendGui.core.appendAddress(address)
|
||||||
friendGui.core.defaultFullAddress = address
|
|
||||||
if (!rightPanelStackView.currentItem || rightPanelStackView.currentItem.objectName != "contactEdition")
|
if (!rightPanelStackView.currentItem || rightPanelStackView.currentItem.objectName != "contactEdition")
|
||||||
rightPanelStackView.push(contactEdition, {"contact": friendGui, "title": qsTr("Nouveau contact"), "saveButtonText": qsTr("Créer")})
|
rightPanelStackView.push(contactEdition, {"contact": friendGui, "title": qsTr("Nouveau contact"), "saveButtonText": qsTr("Créer")})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue