Fix crash when adding non-notes to event editor
Applied fix as mentioned here by @nico202 https://github.com/original-male/non/issues/182pull/186/head
parent
88fe7e7b97
commit
568e8a9608
|
@ -138,7 +138,7 @@ else
|
||||||
|
|
||||||
e->status( opcode );
|
e->status( opcode );
|
||||||
|
|
||||||
Event_Widget *ew = v->value();
|
Event_Widget *ew;
|
||||||
|
|
||||||
if ( ew && ew->ev() )
|
if ( ew && ew->ev() )
|
||||||
e->timestamp( ew->ev()->timestamp() );
|
e->timestamp( ew->ev()->timestamp() );
|
||||||
|
|
Loading…
Reference in New Issue