From e4e254e7fdef6ee34ab14e3a69b032cf219e67da Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 29 Jan 2025 18:25:22 +0100 Subject: [PATCH] Switch to favorite plugin tab when using DnD to add favorites --- gtk2_ardour/mixer_ui.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index 54ef4ed1e4..bb83b354ab 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -3689,6 +3689,12 @@ Mixer_UI::plugin_drop (const Glib::RefPtr&, const Gtk::Selecti manager.set_status (ppp->_pip->type, ppp->_pip->unique_id, status); manager.save_statuses (); + + /* switch to favorite tabe */ + if (plugin_list_mode != PLM_Favorite) { + set_plugin_list_mode (PLM_Favorite); + update_sidebar_pagers (0); + } } void