projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33da74c
)
Fix occasional crash on startup with MIDI tracks (race?).
author
David Robillard
<d@drobilla.net>
Thu, 22 Oct 2009 16:10:21 +0000
(16:10 +0000)
committer
David Robillard
<d@drobilla.net>
Thu, 22 Oct 2009 16:10:21 +0000
(16:10 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5855
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/midi_time_axis.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/midi_time_axis.cc
b/gtk2_ardour/midi_time_axis.cc
index 6aaf33854c7a48d19b9a1dfbb5162a084dd76cca..544fee86a4ab36ed54d34ac7321bedd35bcbdd7a 100644
(file)
--- a/
gtk2_ardour/midi_time_axis.cc
+++ b/
gtk2_ardour/midi_time_axis.cc
@@
-204,7
+204,7
@@
MidiTimeAxisView::MidiTimeAxisView (PublicEditor& ed, Session& sess,
if ((prop = xml_node->property ("note-mode")) != 0) {
_note_mode = NoteMode (string_2_enum(prop->value(), _note_mode));
- if (
mode_menu
) {
+ if (
_percussion_mode_item
) {
_percussion_mode_item->set_active (_note_mode == Percussive);
}
}