Improve the label for showing the rich text controls and tell users what pressing enter will do.

This commit is contained in:
James Graham
2026-02-26 19:50:26 +00:00
parent 611374d4dd
commit 23c0bdb647
3 changed files with 20 additions and 11 deletions

View File

@@ -192,7 +192,7 @@ RowLayout {
QQC2.ToolButton {
icon.name: "edit-select-text-symbolic"
text: i18nc("@action:button", "Rich Text")
text: NeoChatConfig.sendMessageWith === 1 ? i18nc("@action:button", "Hide Rich Text Controls") : i18nc("@action:button", "Show Rich Text Controls")
display: QQC2.AbstractButton.IconOnly
checkable: true
checked: NeoChatConfig.sendMessageWith === 1