From 2e0b356acd89f0dc602107d124df6b5c25cf2984 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 15 Nov 2011 21:24:15 +0000 Subject: [PATCH] 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 --- gtk2_ardour/lxvst_pluginui.cc | 4 ---- 1 file changed, 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());