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:
parent
001c8a80f7
commit
680896b1b9
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user