fixed extension for presets
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1735 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -199,9 +199,9 @@ QString multimediaProject::nameWithExtension( const QString & _fn ) const
|
||||
}
|
||||
break;
|
||||
case InstrumentTrackSettings:
|
||||
if( _fn.section( '.', -2, -1 ) != "cs.xml" )
|
||||
if( _fn.section( '.', -1 ) != "xpf" )
|
||||
{
|
||||
return( _fn + ".cs.xml" );
|
||||
return( _fn + ".xpf" );
|
||||
}
|
||||
break;
|
||||
default: ;
|
||||
|
||||
Reference in New Issue
Block a user