diff options
author | Carl Hetherington <carl@carlh.net> | 2010-04-18 21:29:48 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-04-18 21:29:48 +0000 |
commit | 895bad1dcd817cb8ad32dc255a90271edd6659fb (patch) | |
tree | 1385c5880cd9958bb2c6d189b6ff13ae4c43be74 /gtk2_ardour/location_ui.cc | |
parent | d9cac66b5d7f76a78b1ae1442a275516ef710bc9 (diff) |
Make the session start/end location a single location (with start and end) rather than two separate ones. Fixes #1298.
git-svn-id: svn://localhost/ardour2/branches/3.0@6929 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/location_ui.cc')
-rw-r--r-- | gtk2_ardour/location_ui.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc index eebec3556e..f830d817a6 100644 --- a/gtk2_ardour/location_ui.cc +++ b/gtk2_ardour/location_ui.cc @@ -226,7 +226,7 @@ LocationEditRow::set_location (Location *loc) item_table.attach (remove_button, 6, 7, 0, 1, FILL, FILL, 4, 0); } - if (location->is_end() || location->is_start()) { + if (location->is_session_range()) { remove_button.set_sensitive (false); } @@ -671,7 +671,7 @@ LocationUI::do_location_remove (ARDOUR::Location *loc) cannot be removed. */ - if (loc->is_end()) { + if (loc->is_session_range()) { return FALSE; } |