mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix crash in forwarded dice media.
This commit is contained in:
@@ -51,6 +51,9 @@ void Dice::draw(Painter &p, const QRect &r, bool selected) {
|
||||
_end->initSize();
|
||||
}
|
||||
}
|
||||
if (!_end) {
|
||||
_drawingEnd = false;
|
||||
}
|
||||
if (_drawingEnd) {
|
||||
_end->draw(p, r, selected);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user