mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-19 14:38:22 -04:00
fixed surroundarea-compat-code
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@881 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -696,7 +696,9 @@ void instrumentTrack::loadTrackSpecificSettings( const QDomElement & _this )
|
||||
m_volumeModel.loadSettings( _this, "vol" );
|
||||
|
||||
// compat-hacks - move to mmp::upgrade
|
||||
if( _this.hasAttribute( "surpos" ) )
|
||||
if( _this.hasAttribute( "surpos" ) || _this.hasAttribute( "surpos-x" ) ||
|
||||
!_this.firstChildElement( "automation-pattern" ).
|
||||
firstChildElement( "surpos-x" ).isNull() )
|
||||
{
|
||||
surroundAreaModel m( this, this );
|
||||
m.loadSettings( _this, "surpos" );
|
||||
|
||||
Reference in New Issue
Block a user