Skip to content

Commit

Permalink
TempoSyncKnobModel: Fix loadSettings order (syncmode takes precedence)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-w committed Aug 29, 2016
1 parent 02eee8e commit 67e9371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/TempoSyncKnobModel.cpp
Expand Up @@ -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() );
}


Expand Down

0 comments on commit 67e9371

Please sign in to comment.