Don't begin a drag when annotations are edited!

pull/3/head
Jonathan Moore Liles 2008-05-05 19:01:01 -05:00
parent 4947278da5
commit 982eed82e4
2 changed files with 3 additions and 3 deletions

View File

@ -110,14 +110,14 @@ public:
{
Logger _log( this );
if ( m == FL_PUSH && Fl::event_button3() && ! Fl::event_ctrl() )
if ( m == FL_PUSH && Fl::test_shortcur( FL_BUTTON3 ) && ! Fl::event_shift() )
{
const char *s = fl_input( "New name for mark:", name() );
if ( s )
name( s );
return 1;
return 0;
}
int r = Sequence_Widget::handle( m );

View File

@ -103,7 +103,7 @@ Annotation_Region::handle ( int m )
free( s );
return 1;
return 0;
}
int r = Sequence_Region::handle( m );