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
committed by tresf
parent 3ad6d6ca7a
commit 5172acb1e3

View File

@@ -415,7 +415,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 );