@@ -221,7 +221,7 @@ void AutomatableModel::setValue( const float value )
|
||||
++m_setValueDepth;
|
||||
const float old_val = m_value;
|
||||
|
||||
m_value = fittedValue( value, true );
|
||||
m_value = fittedValue( value );
|
||||
if( old_val != m_value )
|
||||
{
|
||||
// add changes to history so user can undo it
|
||||
|
||||
@@ -138,9 +138,9 @@ void TempoSyncKnobModel::saveSettings( QDomDocument & _doc, QDomElement & _this,
|
||||
void TempoSyncKnobModel::loadSettings( const QDomElement & _this,
|
||||
const QString & _name )
|
||||
{
|
||||
setSyncMode( ( TempoSyncMode ) _this.attribute( "syncmode" ).toInt() );
|
||||
m_custom.loadSettings( _this, _name );
|
||||
FloatModel::loadSettings( _this, _name );
|
||||
m_custom.loadSettings( _this, _name );
|
||||
setSyncMode( ( TempoSyncMode ) _this.attribute( "syncmode" ).toInt() );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user