Don't quit on escape key.

This commit is contained in:
Jonathan Moore Liles 2008-07-29 21:35:19 -05:00
parent d2a8373cff
commit 1f4c3b4f9a
1 changed files with 4 additions and 3 deletions

View File

@ -197,7 +197,9 @@ Loggable::progress_callback( &TLE::progress_cb, this );} {}
Function {make_window()} {open Function {make_window()} {open
} { } {
Fl_Window main_window { Fl_Window main_window {
label Timeline open label Timeline
callback {if ( Fl::event_key() != FL_Escape )
o->hide();} open selected
private xywh {133 113 1025 770} type Double resizable xclass Non_DAW visible private xywh {133 113 1025 770} type Double resizable xclass Non_DAW visible
} { } {
Fl_Menu_Bar menubar {open Fl_Menu_Bar menubar {open
@ -748,8 +750,7 @@ if ( engine->zombified() && ! zombie )
} }
solo_blinker->value( Track::soloing() ); solo_blinker->value( Track::soloing() );
rec_blinker->value( transport->rolling && transport->rec_enabled() );} {selected rec_blinker->value( transport->rolling && transport->rec_enabled() );} {}
}
} }
Function {update_cb( void *v )} {open private return_type {static void} Function {update_cb( void *v )} {open private return_type {static void}
} { } {