Don't respond to Timeline keybindings when Timeline is inactive.
This commit is contained in:
parent
ded97d5197
commit
ea38dd48b9
|
@ -175,6 +175,9 @@ Timeline::fix_range ( void )
|
|||
void
|
||||
Timeline::menu_cb ( Fl_Menu_ *m )
|
||||
{
|
||||
if ( ! active_r() )
|
||||
return;
|
||||
|
||||
const char *picked = m->mvalue()->label();
|
||||
|
||||
/* m->item_pathname( picked, sizeof( picked ) ); */
|
||||
|
|
Loading…
Reference in New Issue