From e66ba382da9563ccdfb8574801d47cff4b8ef1ae Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 29 Mar 2017 23:41:10 +0200 Subject: Remove expensive menu for sending immediate Patch Changes, use a dialog --- gtk2_ardour/midi_time_axis.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gtk2_ardour/midi_time_axis.h') 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 (); -- cgit v1.2.3