Non-Sequencer: Don't die in event editor when inserting event with none selected.
Closes #182, #118
This commit is contained in:
parent
88fe7e7b97
commit
5d274f430c
|
@ -225,7 +225,7 @@ for ( event* e = (*_el)[0]; ( e = e->next() ); i++ )
|
||||||
}
|
}
|
||||||
Function {value( void )} {return_type {Event_Widget *}
|
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 );
|
Event_Widget *w = (Event_Widget*)pack->child( i );
|
||||||
if ( w->selected() )
|
if ( w->selected() )
|
||||||
|
|
Loading…
Reference in New Issue