Small crash fix
This commit is contained in:
parent
b487527339
commit
95738ccfd1
|
@ -458,5 +458,7 @@ void djui_panel_player_create(struct DjuiBase* caller) {
|
|||
}
|
||||
|
||||
struct DjuiPanel* p = djui_panel_add(caller, panel, NULL);
|
||||
if (p != NULL) {
|
||||
p->on_panel_destroy = djui_panel_player_destroy;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue