1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-05 19:21:59 +01: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

@@ -2274,7 +2274,7 @@ void LabelTrack::Unselect()
mSelIndex = -1;
}
bool LabelTrack::IsSelected() const
bool LabelTrack::HasSelection() const
{
return (mSelIndex >= 0 && mSelIndex < (int)mLabels.size());
}