set core values on textfield text modified

This commit is contained in:
Gaelle Braud 2024-12-26 13:53:00 +01:00
parent 017971c886
commit 55f1d9c17e
2 changed files with 7 additions and 1 deletions

View file

@ -18,7 +18,7 @@ AbstractSettingsMenu {
]
Connections {
target: account.core
onRemoved: accountRemoved()
function onRemoved() { accountRemoved() }
}
onGoBackRequested: if (!account.core.isSaved) {
UtilsCpp.getMainWindow().showConfirmationLambdaPopup(qsTr("Modifications non enregistrées"),

View file

@ -58,6 +58,7 @@ AbstractSettingsLayout {
propertyOwnerGui: account
title: qsTr("URI de messagerie vocale")
Layout.fillWidth: true
toValidate: true
}
}
}
@ -87,6 +88,7 @@ AbstractSettingsLayout {
title: qsTr("URL du serveur mandataire")
propertyName: "serverAddress"
propertyOwnerGui: account
toValidate: true
}
SwitchSetting {
titleText: qsTr("Serveur mandataire sortant")
@ -98,6 +100,7 @@ AbstractSettingsLayout {
propertyName: "stunServer"
propertyOwnerGui: account
title: qsTr("Adresse du serveur STUN")
toValidate: true
}
SwitchSetting {
titleText: qsTr("Activer ICE")
@ -128,6 +131,7 @@ AbstractSettingsLayout {
title: qsTr("URI de lusine à conversations")
propertyName: "conferenceFactoryAddress"
propertyOwnerGui: account
toValidate: true
}
DecoratedTextField {
Layout.fillWidth: true
@ -135,12 +139,14 @@ AbstractSettingsLayout {
propertyName: "audioVideoConferenceFactoryAddress"
propertyOwnerGui: account
visible: !SettingsCpp.disableMeetingsFeature
toValidate: true
}
DecoratedTextField {
Layout.fillWidth: true
title: qsTr("URL du serveur déchange de clés de chiffrement")
propertyName: "limeServerUrl"
propertyOwnerGui: account
toValidate: true
}
}
}