Example placeholder for composer alias
This commit is contained in:
parent
8c1c3ef05c
commit
a0c42fe5a6
|
@ -171,9 +171,15 @@ HGridLayout {
|
||||||
|
|
||||||
property bool changed: field.text !== currentAlias
|
property bool changed: field.text !== currentAlias
|
||||||
|
|
||||||
|
|
||||||
id: aliasField
|
id: aliasField
|
||||||
label.text: qsTr("Multi-account composer alias:")
|
label.text: qsTr("Multi-account composer alias:")
|
||||||
field.onAccepted: applyChanges()
|
field.onAccepted: applyChanges()
|
||||||
|
field.placeholderText: (
|
||||||
|
nameField.field.text ||
|
||||||
|
accountInfo.display_name ||
|
||||||
|
userId.substring(1)
|
||||||
|
)[0]
|
||||||
|
|
||||||
toolTip.text: qsTr(
|
toolTip.text: qsTr(
|
||||||
"From any account, start a message with specified alias " +
|
"From any account, start a message with specified alias " +
|
||||||
|
|
Loading…
Reference in New Issue
Block a user