mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-17 22:15:25 +02:00
emojipicker: use truthy check to avoid exception
Change-Id: I9c6acd8fe1c34d4ce5b2a172e04eea0f4a1e0148
This commit is contained in:
parent
32b76c8da4
commit
009a3902cb
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ Rectangle {
|
|||
sendButtonVisibility: text || messageBar.fileContainer.filesToSendCount
|
||||
|
||||
onEmojiButtonClicked: {
|
||||
if (emojiPicker !== null && emojiPicker.opened) {
|
||||
if (emojiPicker && emojiPicker.opened) {
|
||||
emojiPicker.closeEmojiPicker();
|
||||
} else {
|
||||
openEmojiPicker();
|
||||
|
|
Loading…
Add table
Reference in a new issue