TempoSyncKnobModel: Fix loadSettings order (syncmode takes precedence)

This commit is contained in:
Lukas W
2016-08-29 13:56:04 +02:00
parent 02eee8e7b6
commit 67e93710d2

View File

@@ -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() );
}