InstrumentTrack: load pitch range model before pitch model

As the pitch range model defines the range of the pitch model we have
to load it first so the range of m_pitchModel gets adjusted accordingly.

Closes #272.
This commit is contained in:
Tobias Doerffel
2014-02-04 23:44:20 +01:00
parent 056e63416f
commit 2f0cd8b7c4

View File

@@ -706,8 +706,8 @@ void InstrumentTrack::loadTrackSpecificSettings( const QDomElement & thisElement
m_volumeModel.loadSettings( thisElement, "vol" );
m_panningModel.loadSettings( thisElement, "pan" );
m_pitchModel.loadSettings( thisElement, "pitch" );
m_pitchRangeModel.loadSettings( thisElement, "pitchrange" );
m_pitchModel.loadSettings( thisElement, "pitch" );
m_effectChannelModel.loadSettings( thisElement, "fxch" );
m_baseNoteModel.loadSettings( thisElement, "basenote" );