summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_time_axis.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-03-29 23:41:10 +0200
committerRobin Gareus <robin@gareus.org>2017-03-29 23:53:56 +0200
commite66ba382da9563ccdfb8574801d47cff4b8ef1ae (patch)
treef3495b2a8d7bc94a4113d75113bb285164e468c1 /gtk2_ardour/midi_time_axis.h
parentc0b6d8bfdf2f87c8249d31b55a56c92ec60983a8 (diff)
Remove expensive menu for sending immediate Patch Changes, use a dialog
Diffstat (limited to 'gtk2_ardour/midi_time_axis.h')
-rw-r--r--gtk2_ardour/midi_time_axis.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h
index ac953c8f96..c562718853 100644
--- a/gtk2_ardour/midi_time_axis.h
+++ b/gtk2_ardour/midi_time_axis.h
@@ -135,12 +135,11 @@ private:
void build_automation_action_menu (bool);
Gtk::Menu* build_note_mode_menu();
Gtk::Menu* build_color_mode_menu();
- Gtk::Menu* build_patch_menu();
void set_note_mode (ARDOUR::NoteMode mode, bool apply_to_selection = false);
void set_color_mode (ARDOUR::ColorMode, bool force = false, bool redisplay = true, bool apply_to_selection = false);
void set_note_range (MidiStreamView::VisibleNoteRange range, bool apply_to_selection = false);
- void on_patch_menu_selected (int chn, const MIDI::Name::PatchPrimaryKey& key);
+ void send_patch_change ();
void route_active_changed ();
void note_range_changed ();