Fix the emoticon editor page

It wasn't possible to edit the shortcode or description anymore, because
signals weren't hooked up. I also added a separator to help separate
some of these controls visually.
This commit is contained in:
Joshua Goins
2026-02-13 20:47:28 -05:00
parent 57b6dbcbde
commit 4e616d53b2

View File

@@ -98,11 +98,14 @@ FormCard.FormCardPage {
FormCard.FormTextFieldDelegate { FormCard.FormTextFieldDelegate {
label: i18n("Shortcode:") label: i18n("Shortcode:")
text: root.shortcode text: root.shortcode
onTextChanged: root.shortcode = text
} }
FormCard.FormTextFieldDelegate { FormCard.FormTextFieldDelegate {
label: i18n("Description:") label: i18n("Description:")
text: root.description text: root.description
onTextChanged: root.description = text
} }
FormCard.FormDelegateSeparator {}
FormCard.FormButtonDelegate { FormCard.FormButtonDelegate {
id: save id: save
text: i18n("Save") text: i18n("Save")