mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Fix crash in forwarded dice media.
This commit is contained in:
parent
f643b5f725
commit
4b8a42fafd
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ void Dice::draw(Painter &p, const QRect &r, bool selected) {
|
||||||
_end->initSize();
|
_end->initSize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!_end) {
|
||||||
|
_drawingEnd = false;
|
||||||
|
}
|
||||||
if (_drawingEnd) {
|
if (_drawingEnd) {
|
||||||
_end->draw(p, r, selected);
|
_end->draw(p, r, selected);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue