mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +02:00
Fix crash in emoji color picker.
This commit is contained in:
parent
8912d4d55a
commit
7f6e871b26
1 changed files with 7 additions and 0 deletions
|
@ -628,6 +628,13 @@ void EmojiListWidget::applyNextSearchQuery() {
|
|||
const auto modeChanged = (_searchMode != searching);
|
||||
clearSelection();
|
||||
if (modeChanged) {
|
||||
if (_picker) {
|
||||
_picker->hideAnimated();
|
||||
}
|
||||
_colorAllRipple = nullptr;
|
||||
for (auto &set : _custom) {
|
||||
set.ripple = nullptr;
|
||||
}
|
||||
_searchMode = searching;
|
||||
}
|
||||
if (!searching) {
|
||||
|
|
Loading…
Add table
Reference in a new issue