Set up ControlUI::combo_map correctly to fix drop-down boxes

in generated plugin UIs (#4221).  Based on work by
jeremybub.


git-svn-id: svn://localhost/ardour2/branches/3.0@10064 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-09-07 14:42:25 +00:00
parent bb91aaa5ec
commit 44b7830064
2 changed files with 10 additions and 11 deletions

View file

@ -212,7 +212,7 @@ class GenericPluginUI : public PlugUIBase, public Gtk::VBox
/* input */
Gtk::ComboBoxText* combo;
std::map<std::string, float>* combo_map;
boost::shared_ptr<ARDOUR::Plugin::ScalePoints> combo_map;
Gtk::ToggleButton* button;
boost::shared_ptr<AutomationController> controller;
Gtkmm2ext::ClickBox* clickbox;