1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-27 15:08:39 +01:00

More stl idiom for TrackList and its iterators

This commit is contained in:
Paul Licameli
2018-01-14 16:55:49 -05:00
parent ba61e30cb2
commit 0265b8792d
8 changed files with 22 additions and 19 deletions

View File

@@ -29,7 +29,7 @@ unsigned CommonTrackPanelCell::HandleWheelRotation
{
using namespace RefreshCode;
if (pProject->GetTracks()->IsEmpty())
if (pProject->GetTracks()->empty())
// Scrolling and Zoom in and out commands are disabled when there are no tracks.
// This should be disabled too for consistency. Otherwise
// you do see changes in the time ruler.