1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02:00

Rename LabelTrack::IsSelected so it doesn't shadow Track::IsSelected

This commit is contained in:
Paul Licameli
2018-11-08 11:07:42 -05:00
parent 03b0d3f89a
commit 2d650fa0e8
4 changed files with 5 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ bool DoPasteText(AudacityProject &project)
for (auto pLabelTrack : tracks->Any<LabelTrack>())
{
// Does this track have an active label?
if (pLabelTrack->IsSelected()) {
if (pLabelTrack->HasSelection()) {
// Yes, so try pasting into it
if (pLabelTrack->PasteSelectedText(selectedRegion.t0(),