mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix of neutral emoji color variant choice saving.
This commit is contained in:
parent
a2774848ba
commit
89f3b45888
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ QRect EmojiPanInner::emojiRect(int tab, int sel) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmojiPanInner::onColorSelected(EmojiPtr emoji) {
|
void EmojiPanInner::onColorSelected(EmojiPtr emoji) {
|
||||||
if (emoji->colored()) {
|
if (emoji->hasVariants()) {
|
||||||
cRefEmojiVariants().insert(emoji->nonColoredId(), emoji->variantIndex(emoji));
|
cRefEmojiVariants().insert(emoji->nonColoredId(), emoji->variantIndex(emoji));
|
||||||
}
|
}
|
||||||
if (_pickerSel >= 0) {
|
if (_pickerSel >= 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue