Fix of neutral emoji color variant choice saving.

This commit is contained in:
John Preston 2017-02-18 14:28:21 +03:00
parent a2774848ba
commit 89f3b45888
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ QRect EmojiPanInner::emojiRect(int tab, int sel) {
}
void EmojiPanInner::onColorSelected(EmojiPtr emoji) {
if (emoji->colored()) {
if (emoji->hasVariants()) {
cRefEmojiVariants().insert(emoji->nonColoredId(), emoji->variantIndex(emoji));
}
if (_pickerSel >= 0) {