From 7e1b52d9f3f66e09d00c257dac5323f0e6c49974 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 31 Jan 2010 10:06:20 -0600 Subject: [PATCH] Mixer: Fix restrip rename menu option. --- Mixer/Mixer_Strip.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mixer/Mixer_Strip.C b/Mixer/Mixer_Strip.C index bf5dacc..51576d2 100644 --- a/Mixer/Mixer_Strip.C +++ b/Mixer/Mixer_Strip.C @@ -488,7 +488,9 @@ Mixer_Strip::menu_cb ( const Fl_Menu_ *m ) else if ( ! strcmp( picked, "/Move Right" ) ) command_move_right(); else if ( ! strcmp( picked, "/Rename" ) ) - name_field->take_focus(); + { + ((Fl_Sometimes_Input*)name_field)->take_focus(); + } else if ( ! strcmp( picked, "/Color" ) ) { unsigned char r, g, b;