diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-06 14:55:36 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-06 14:55:36 +0200 |
commit | b15ed28f79905ed976f39b080d47ce8d3000d335 (patch) | |
tree | 00407fb998f9f12d096c38e8e3eb2852bb6068a9 /gtk2_ardour/processor_box.cc | |
parent | 864f9e497dfa6bf6f7ab349e1b2b123e9bc575ba (diff) |
separate Preset + Favorite DnD Targets
Sidebar is a source of "Favorites" and a destination for Presets.
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 51b8f3f885..472897daed 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -1698,7 +1698,7 @@ static std::list<Gtk::TargetEntry> drop_targets() std::list<Gtk::TargetEntry> tmp; tmp.push_back (Gtk::TargetEntry ("processor")); // from processor-box to processor-box tmp.push_back (Gtk::TargetEntry ("PluginInfoPtr")); // from plugin-manager - tmp.push_back (Gtk::TargetEntry ("PluginPresetPtr")); // from sidebar + tmp.push_back (Gtk::TargetEntry ("PluginFavoritePtr")); // from sidebar return tmp; } @@ -1910,7 +1910,7 @@ ProcessorBox::plugin_drop (Gtk::SelectionData const &data, ProcessorEntry* posit if (data.get_target() == "PluginInfoPtr") { _drop_plugin (data, pl); } - else if (data.get_target() == "PluginPresetPtr") { + else if (data.get_target() == "PluginFavoritePtr") { _drop_plugin_preset (data, pl); } else { |