Save settings any time emoji skin color is chosen.

Fixes #4788.
This commit is contained in:
John Preston 2018-06-04 21:34:18 +03:00
parent 5a63fc7bbb
commit 31998406dd
1 changed files with 4 additions and 1 deletions

View File

@ -615,7 +615,10 @@ QRect EmojiListWidget::emojiRect(int section, int sel) {
void EmojiListWidget::onColorSelected(EmojiPtr emoji) {
if (emoji->hasVariants()) {
cRefEmojiVariants().insert(emoji->nonColoredId(), emoji->variantIndex(emoji));
cRefEmojiVariants().insert(
emoji->nonColoredId(),
emoji->variantIndex(emoji));
Auth().saveSettingsDelayed();
}
if (_pickerSel >= 0) {
auto section = (_pickerSel / MatrixRowShift);