mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-17 11:18:30 -04:00
DataFile: also update meta data when upgrading XML document
This commit is contained in:
@@ -683,6 +683,12 @@ void DataFile::upgrade()
|
||||
|
||||
}
|
||||
|
||||
// update document meta data
|
||||
documentElement().setAttribute( "version", LDF_VERSION_STRING );
|
||||
documentElement().setAttribute( "type", typeName( type() ) );
|
||||
documentElement().setAttribute( "creator", "LMMS" );
|
||||
documentElement().setAttribute( "creatorversion", LMMS_VERSION );
|
||||
|
||||
// Time-signature
|
||||
if ( !m_head.hasAttribute( "timesig_numerator" ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user