1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-16 08:34:10 +02:00

Fix loading of VST XML programs.

This commit is contained in:
lllucius 2014-05-20 07:30:23 +00:00
parent 001c8a80f7
commit 680896b1b9

View File

@ -1551,6 +1551,11 @@ bool VSTEffectDialog::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
}
int ndx = mProgram->GetCurrentSelection();
if (ndx == wxNOT_FOUND)
{
ndx = 0;
}
mProgram->SetString(ndx, strValue);
mProgram->SetValue(strValue);