Skip to content
Snippets Groups Projects
Commit 6f762a89 authored by Albert  Babí Oller's avatar Albert Babí Oller Committed by Sébastien Blin
Browse files

settings: change echo mode for sip accounts password

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

Change-Id: I0533db56cbce34829b603b58eae7d276a6ae33bd
parent 8c4914cd
Branches
No related tags found
No related merge requests found
...@@ -82,5 +82,6 @@ ColumnLayout { ...@@ -82,5 +82,6 @@ ColumnLayout {
titleField: qsTr("Password") titleField: qsTr("Password")
itemWidth: root.itemWidth itemWidth: root.itemWidth
onEditFinished: SettingsAdapter.setAccountConfig_Password(textField) onEditFinished: SettingsAdapter.setAccountConfig_Password(textField)
echoMode: TextInput.Password
} }
} }
...@@ -36,6 +36,7 @@ RowLayout { ...@@ -36,6 +36,7 @@ RowLayout {
property string textField: "" property string textField: ""
property int itemWidth property int itemWidth
property int wrapMode: Text.NoWrap property int wrapMode: Text.NoWrap
property int echoMode: TextInput.Normal
signal editFinished signal editFinished
...@@ -75,6 +76,7 @@ RowLayout { ...@@ -75,6 +76,7 @@ RowLayout {
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
wrapMode: root.wrapMode wrapMode: root.wrapMode
echoMode: root.echoMode
padding: 8 padding: 8
onEditingFinished: { onEditingFinished: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment