Proposed fix for 1049 VST knobs won't remember settings

This commit is contained in:
Dave French
2014-12-21 14:19:48 +00:00
parent a774e5dabe
commit cc74273f60

View File

@@ -420,7 +420,7 @@ void VstPlugin::setParameterDump( const QMap<QString, QString> & _pdump )
{
( *it ).section( ':', 0, 0 ).toInt(),
"",
( *it ).section( ':', 1, 1 ).toFloat()
( *it ).section( ':', 2, -1 ).toFloat()
} ;
m.addInt( item.index );
m.addString( item.shortLabel );