1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-04-21 21:52:03 +02:00

settings: change echo mode for sip accounts password

- add echoMode to SettingsMaterialLineEdit
- change echoMode in settings -> password for sip accounts

Change-Id: I0533db56cbce34829b603b58eae7d276a6ae33bd
This commit is contained in:
ababi 2020-10-13 14:59:05 +02:00 committed by Sébastien Blin
parent 8c4914cd81
commit 6f762a8994
2 changed files with 5 additions and 2 deletions

View file

@ -82,5 +82,6 @@ ColumnLayout {
titleField: qsTr("Password")
itemWidth: root.itemWidth
onEditFinished: SettingsAdapter.setAccountConfig_Password(textField)
echoMode: TextInput.Password
}
}
}

View file

@ -36,6 +36,7 @@ RowLayout {
property string textField: ""
property int itemWidth
property int wrapMode: Text.NoWrap
property int echoMode: TextInput.Normal
signal editFinished
@ -75,6 +76,7 @@ RowLayout {
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
wrapMode: root.wrapMode
echoMode: root.echoMode
padding: 8
onEditingFinished: {
@ -82,4 +84,4 @@ RowLayout {
editFinished()
}
}
}
}