summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_ui.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-07 14:42:25 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-07 14:42:25 +0000
commit44b7830064d732cff4f0e55babcc47fccda2245e (patch)
tree47411cd2ce6ca8c471217501c10535668d74e558 /gtk2_ardour/plugin_ui.h
parentbb91aaa5ecdf1ab4f5c4779db1ce5a6ee3cacbc9 (diff)
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
Diffstat (limited to 'gtk2_ardour/plugin_ui.h')
-rw-r--r--gtk2_ardour/plugin_ui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/plugin_ui.h b/gtk2_ardour/plugin_ui.h
index 4ce7faf376..7c88b01bbd 100644
--- a/gtk2_ardour/plugin_ui.h
+++ b/gtk2_ardour/plugin_ui.h
@@ -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;