1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Register a predicate with each CommandFlag bit

This commit is contained in:
Paul Licameli
2019-06-08 20:35:21 -04:00
parent 36e3a03c7f
commit 705b4b28e7
14 changed files with 308 additions and 57 deletions

View File

@@ -1012,7 +1012,7 @@ void LabelTrack::calculateFontHeight(wxDC & dc) const
mFontHeight += CursorExtraHeight - (charLeading+charDescent);
}
bool LabelTrack::IsTextSelected()
bool LabelTrack::IsTextSelected() const
{
if (mSelIndex == -1)
return false;