Handle deselection specially.

This commit is contained in:
Jonathan Moore Liles 2008-03-03 18:35:40 -06:00
parent 4f2a6a28d1
commit 8533f49d87
1 changed files with 7 additions and 4 deletions

View File

@ -283,10 +283,13 @@ Region::handle ( int m )
normalize(); normalize();
else else
{ {
if ( selected() ) if ( Track_Widget::current() == this )
deselect(); {
else if ( selected() )
select(); deselect();
else
select();
}
} }
redraw(); redraw();