chatbar: remove redundant code

This commit is contained in:
Darshan Phaldesai
2026-02-22 00:42:16 -07:00
parent 3105fb8aa8
commit 7eda07d788
2 changed files with 1 additions and 15 deletions

View File

@@ -194,9 +194,8 @@ RowLayout {
icon.name: "edit-select-text-symbolic"
text: i18nc("@action:button", "Rich Text")
display: QQC2.AbstractButton.IconOnly
onClicked: NeoChatConfig.sendMessageWith = NeoChatConfig.sendMessageWith === 0 ? 1 : 0
onClicked: NeoChatConfig.sendMessageWith = checked
checkable: true
checked: NeoChatConfig === 1
QQC2.ToolTip.visible: hovered
QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay