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:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user