Fix automation dropdown menu-item active state

Extra XML/GUI has not been in use since ages.
Automation Lane visibility is saved as GUIObjectState.

This properly marks DropDown Menu items as active when a
Plugin Automation Lane is displayed
This commit is contained in:
Robin Gareus 2019-12-12 03:01:31 +01:00
parent ff7fe6d4d6
commit a92dddda25
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 6 additions and 38 deletions

View file

@ -133,8 +133,6 @@ public:
return _show_regions;
}
static void what_has_visible_automation (const boost::shared_ptr<ARDOUR::Automatable>& automatable, std::set<Evoral::Parameter>& visible);
protected:
/* Note that for MIDI controller "automation" (in regions), all of these
* may be set. In this case, _automatable is likely _route so the