Don't do anything if nothing was picked from track context menu.

This commit is contained in:
Jonathan Moore Liles 2008-04-22 23:18:00 -05:00
parent f8ce7eab64
commit db5febb64e
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ Track::handle ( int m )
const Fl_Menu_Item *r = menu->popup( X, Y, "Track" ); const Fl_Menu_Item *r = menu->popup( X, Y, "Track" );
if ( r ) if ( r && r > &menu[ 0 ] )
{ {
if ( r < &menu[ 4 ] ) if ( r < &menu[ 4 ] )
{ {