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 { Connections {
target: account.core target: account.core
onRemoved: accountRemoved() function onRemoved() { accountRemoved() }
} }
onGoBackRequested: if (!account.core.isSaved) { onGoBackRequested: if (!account.core.isSaved) {
UtilsCpp.getMainWindow().showConfirmationLambdaPopup(qsTr("Modifications non enregistrées"), UtilsCpp.getMainWindow().showConfirmationLambdaPopup(qsTr("Modifications non enregistrées"),

View file

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