Make emoji button checkable
Since clicking on it both opens and closes the emoji panel, it's a natural fit for being checkable.
This commit is contained in:
@@ -376,7 +376,9 @@ ToolBar {
|
|||||||
icon.name: "preferences-desktop-emoticons"
|
icon.name: "preferences-desktop-emoticons"
|
||||||
icon.color: "transparent"
|
icon.color: "transparent"
|
||||||
|
|
||||||
onClicked: emojiPicker.visible = !emojiPicker.visible
|
checkable: true
|
||||||
|
checked: emojiPicker.visible
|
||||||
|
onToggled: emojiPicker.visible = !emojiPicker.visible
|
||||||
|
|
||||||
ToolTip {
|
ToolTip {
|
||||||
text: i18n("Add an Emoji")
|
text: i18n("Add an Emoji")
|
||||||
|
|||||||
Reference in New Issue
Block a user