summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-15 21:24:15 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-15 21:24:15 +0000
commit2e0b356acd89f0dc602107d124df6b5c25cf2984 (patch)
treed017bac8ed330550a0b5bef62fccea32f118b4f7 /gtk2_ardour
parentb998b8f761aaf1b8e61633f6054a6e9aa5d6c204 (diff)
Don't set program 0 on opening a LXVST plugin UI as it
will lose any settings that had been loaded (#4390). git-svn-id: svn://localhost/ardour2/branches/3.0@10628 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rwxr-xr-xgtk2_ardour/lxvst_pluginui.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk2_ardour/lxvst_pluginui.cc b/gtk2_ardour/lxvst_pluginui.cc
index b2a847488f..b6c7f34327 100755
--- a/gtk2_ardour/lxvst_pluginui.cc
+++ b/gtk2_ardour/lxvst_pluginui.cc
@@ -246,10 +246,6 @@ LXVSTPluginUI::create_preset_store ()
row[preset_columns.number] = i;
}
- if (vstfx->plugin->numPrograms > 0) {
- vstfx->plugin->dispatcher( vstfx->plugin, effSetProgram, 0, 0, NULL, 0.0 );
- }
-
lxvst_preset_combo.set_model (preset_model);
CellRenderer* renderer = manage (new CellRendererText());