Switch to favorite plugin tab when using DnD to add favorites

This commit is contained in:
Robin Gareus 2025-01-29 18:25:22 +01:00
parent 77d78fdef2
commit e4e254e7fd
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -3689,6 +3689,12 @@ Mixer_UI::plugin_drop (const Glib::RefPtr<Gdk::DragContext>&, 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