diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-01 15:19:30 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-01 15:19:30 +0000 |
commit | 6930071cdbccf78f3871027991355a3fc524ba4b (patch) | |
tree | 64aee3d25986bcba825f960c3373e0bc046a9cb3 /libs/ardour/ardour/playlist.h | |
parent | 50aeca5fa5ff317f18fc7963d65f65dca5bad89f (diff) |
When we rename a track, only rename its playlist if it
has never contained any regions (#4759).
git-svn-id: svn://localhost/ardour2/branches/3.0@12525 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/playlist.h')
-rw-r--r-- | libs/ardour/ardour/playlist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/playlist.h b/libs/ardour/ardour/playlist.h index ee57ca1cf0..a64ebdd727 100644 --- a/libs/ardour/ardour/playlist.h +++ b/libs/ardour/ardour/playlist.h @@ -118,6 +118,7 @@ public: bool hidden() const { return _hidden; } bool empty() const; uint32_t n_regions() const; + bool all_regions_empty() const; std::pair<framepos_t, framepos_t> get_extent () const; layer_t top_layer() const; |