diff options
Diffstat (limited to 'libs/ardour/file_source.cc')
-rw-r--r-- | libs/ardour/file_source.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/file_source.cc b/libs/ardour/file_source.cc index c00e3ddbc3..fd66a7a167 100644 --- a/libs/ardour/file_source.cc +++ b/libs/ardour/file_source.cc @@ -82,7 +82,7 @@ FileSource::removable () const { return (_flags & Removable) && ((_flags & RemoveAtDestroy) || - ((_flags & RemovableIfEmpty) && length(timeline_position()) == 0)); + ((_flags & RemovableIfEmpty) && empty() == 0)); } int |