ensure that MIDI-scene-change markers show their [ MIDI ] icon
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 20 Oct 2014 20:43:13 +0000 (16:43 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 20 Oct 2014 20:43:22 +0000 (16:43 -0400)
gtk2_ardour/marker.cc

index 0d958a65950fca04922583cd1b37301af50e461d..1a534c9a6065841f7edafdbd25b1639b95248aad 100644 (file)
@@ -297,7 +297,7 @@ Marker::Marker (ARDOUR::Location* l, PublicEditor& ed, ArdourCanvas::Container&
        , _left_label_limit (DBL_MAX)
        , _right_label_limit (DBL_MAX)
        , _label_offset (0)
-        , _have_scene_change (false)
+        , _have_scene_change (l ? l->scene_change() : false)
 {
        unit_position = editor.sample_to_pixel (frame_position);