diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-17 14:28:10 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-17 14:28:10 +0000 |
commit | add52f1c0ef787a580c44d719bc6e4c9c5ae09a4 (patch) | |
tree | a26208524082994adcf7a6e2adae84e18bf9f233 /gtk2_ardour/midi_time_axis.cc | |
parent | 2863640a52ddaea45ebe5bdd8aceb5567fe8989c (diff) |
Remove believed-unnecessary and broken MIDI thru option;
should fix #4749.
git-svn-id: svn://localhost/ardour2/branches/3.0@12746 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_time_axis.cc')
-rw-r--r-- | gtk2_ardour/midi_time_axis.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc index f182c301d6..9a4200b4af 100644 --- a/gtk2_ardour/midi_time_axis.cc +++ b/gtk2_ardour/midi_time_axis.cc @@ -113,7 +113,6 @@ MidiTimeAxisView::MidiTimeAxisView (PublicEditor& ed, Session* sess, Canvas& can , _channel_color_mode_item(0) , _track_color_mode_item(0) , _step_edit_item (0) - , _midi_thru_item (0) , controller_menu (0) , _step_editor (0) { @@ -405,26 +404,10 @@ MidiTimeAxisView::append_extra_display_menu_items () items.push_back (MenuElem (_("Note Range"), *range_menu)); items.push_back (MenuElem (_("Note Mode"), *build_note_mode_menu())); - items.push_back (CheckMenuElem (_("MIDI Thru"), sigc::mem_fun(*this, &MidiTimeAxisView::toggle_midi_thru))); - _midi_thru_item = dynamic_cast<CheckMenuItem*>(&items.back()); - items.push_back (SeparatorElem ()); } void -MidiTimeAxisView::toggle_midi_thru () -{ - if (!_midi_thru_item) { - return; - } - - bool view_yn = _midi_thru_item->get_active(); - if (view_yn != midi_track()->midi_thru()) { - midi_track()->set_midi_thru (view_yn); - } -} - -void MidiTimeAxisView::build_automation_action_menu (bool for_selection) { using namespace Menu_Helpers; |