13
0

fix context-menu entry sensitivity for plugins w/o custom GUI

This commit is contained in:
Robin Gareus 2013-06-06 18:04:23 +02:00
parent 36359a7d8f
commit bce37837d3

View File

@ -925,7 +925,7 @@ ProcessorBox::show_processor_menu (int arg)
}
/* allow editing with an Ardour-generated UI for plugin inserts with editors */
edit_generic_action->set_sensitive (pi && pi->plugin()->has_editor ());
edit_action->set_sensitive (pi && pi->plugin()->has_editor ());
/* disallow rename for multiple selections, for plugin inserts and for the fader */
rename_action->set_sensitive (single_selection && !pi && !boost::dynamic_pointer_cast<Amp> (single_selection->processor ()));