Non-Sequencer: Don't die in event editor when inserting event with none selected.

Closes #182, #118
This commit is contained in:
Jonathan Moore Liles 2015-12-16 17:57:09 -08:00
parent 88fe7e7b97
commit 5d274f430c
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ for ( event* e = (*_el)[0]; ( e = e->next() ); i++ )
}
Function {value( void )} {return_type {Event_Widget *}
} {
code {for ( int i = _h; i--; )
code {for ( int i = 0; i < pack->children(); i++ )
{
Event_Widget *w = (Event_Widget*)pack->child( i );
if ( w->selected() )