mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Fix of neutral emoji color variant choice saving.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user