summaryrefslogtreecommitdiff
path: root/gtk2_ardour/location_ui.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-06-01 19:48:21 +0200
committerRobin Gareus <robin@gareus.org>2014-06-01 19:48:21 +0200
commit3f82052d11045b536eb0ae7b9d00d4453e1c7ed7 (patch)
tree3c7977e303260e123dccd5e411d39315ccaf63ef /gtk2_ardour/location_ui.cc
parent1c60652bd8b1ab6e763f2d1964c178389d6b239a (diff)
fix display of cd-track-detail UI
Diffstat (limited to 'gtk2_ardour/location_ui.cc')
-rw-r--r--gtk2_ardour/location_ui.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc
index 92f11da019..169fd49258 100644
--- a/gtk2_ardour/location_ui.cc
+++ b/gtk2_ardour/location_ui.cc
@@ -163,6 +163,7 @@ LocationEditRow::LocationEditRow(Session * sess, Location * loc, int32_t num)
set_location (loc);
set_number (num);
+ cd_toggled(); // show/hide cd-track details
}
LocationEditRow::~LocationEditRow()
@@ -499,7 +500,7 @@ LocationEditRow::cd_toggled ()
location->set_cd (cd_check_button.get_active(), this);
- if (location->is_cd_marker() && !(location->is_mark())) {
+ if (location->is_cd_marker()) {
show_cd_track_details ();