From 32880e0cdd43566524890a7564c8328626cf166c Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Thu, 6 Jan 2022 18:33:51 -0600 Subject: [PATCH] locations pane: hide CD checkbox for Cue Markers --- gtk2_ardour/location_ui.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc index f4c7d1ff72..9b6a21faac 100644 --- a/gtk2_ardour/location_ui.cc +++ b/gtk2_ardour/location_ui.cc @@ -295,6 +295,10 @@ LocationEditRow::set_location (Location *loc) remove_button.set_sensitive (false); } + if (location->is_cue_marker()) { + cd_check_button.set_sensitive (false); + } + cd_check_button.set_active (location->is_cd_marker()); cd_check_button.show();