mirror of https://github.com/procxx/kepka.git
Fix crash in forwarded dice media.
This commit is contained in:
parent
f643b5f725
commit
4b8a42fafd
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue