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
This commit is contained in:
Carl Hetherington
2011-11-15 21:24:15 +00:00
parent b998b8f761
commit 2e0b356acd

View File

@@ -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());