Remove expensive menu for sending immediate Patch Changes, use a dialog
[ardour.git] / gtk2_ardour / midi_time_axis.h
index ac953c8f964f54a0c5022be4b6eefa353dc071c6..c5627188539b06c53eca8f9e107a92164ada05c6 100644 (file)
@@ -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 ();