From 1f4c3b4f9abb33460749b77fd9f8ce8c34ae8c1a Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Tue, 29 Jul 2008 21:35:19 -0500 Subject: [PATCH] Don't quit on escape key. --- Timeline/TLE.fl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Timeline/TLE.fl b/Timeline/TLE.fl index 0224410..0359466 100644 --- a/Timeline/TLE.fl +++ b/Timeline/TLE.fl @@ -197,7 +197,9 @@ Loggable::progress_callback( &TLE::progress_cb, this );} {} Function {make_window()} {open } { 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 } { Fl_Menu_Bar menubar {open @@ -748,8 +750,7 @@ if ( engine->zombified() && ! zombie ) } 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} } {