Fix crash when adding non-notes to event editor

Applied fix as mentioned here by @nico202 https://github.com/original-male/non/issues/182
pull/186/head
Viktor Nova 2015-12-07 14:41:56 -08:00
parent 88fe7e7b97
commit 568e8a9608
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ else
e->status( opcode );
Event_Widget *ew = v->value();
Event_Widget *ew;
if ( ew && ew->ev() )
e->timestamp( ew->ev()->timestamp() );