projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6247be
)
Fix crash due to uninitialised use of _note_lines.
author
Carl Hetherington
<carl@carlh.net>
Mon, 28 Jun 2010 21:03:26 +0000
(21:03 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Mon, 28 Jun 2010 21:03:26 +0000
(21:03 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7318
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/midi_streamview.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/midi_streamview.cc
b/gtk2_ardour/midi_streamview.cc
index 44551d73f133a51d9d3c4e8d85b5b7aa1dd01e4e..96d331ba0146a8d21539dab0bcfa352367d682b4 100644
(file)
--- a/
gtk2_ardour/midi_streamview.cc
+++ b/
gtk2_ardour/midi_streamview.cc
@@
-64,8
+64,6
@@
MidiStreamView::MidiStreamView (MidiTimeAxisView& tv)
, _data_note_min(60)
, _data_note_max(71)
{
- color_handler ();
-
/* use a group dedicated to MIDI underlays. Audio underlays are not in this group. */
midi_underlay_group = new ArdourCanvas::Group (*_canvas_group);
midi_underlay_group->lower_to_bottom();
@@
-85,6
+83,8
@@
MidiStreamView::MidiStreamView (MidiTimeAxisView& tv)
_note_lines->lower_to_bottom();
+ color_handler ();
+
ColorsChanged.connect(sigc::mem_fun(*this, &MidiStreamView::color_handler));
note_range_adjustment.set_page_size(_highest_note - _lowest_note);