1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-10 09:27:43 +02:00

Bug1442: fix cyclic TAB navigation among labels...

... with this small difference from 2.1.2 behavior:  when no label is
highlighted, the selection becomes empty.
This commit is contained in:
Paul Licameli 2016-07-10 17:23:26 -04:00
parent 84c0337aba
commit 2543eacd94

@ -1803,6 +1803,7 @@ bool LabelTrack::OnKeyDown(SelectedRegion &newSel, wxKeyEvent & event)
newSel = newLabel.selectedRegion; newSel = newLabel.selectedRegion;
} }
else { else {
newSel = SelectedRegion{};
mSelIndex = -1; mSelIndex = -1;
} }
break; break;