make sure, hidden automation-tracks are not muted when loading

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1317 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-07-17 22:37:33 +00:00
parent 0918f6d3f8
commit b350ccf773
2 changed files with 16 additions and 0 deletions

View File

@@ -119,6 +119,11 @@ void automationTrack::saveTrackSpecificSettings( QDomDocument & _doc,
void automationTrack::loadTrackSpecificSettings( const QDomElement & _this )
{
// just in case something somehow wrent wrong...
if( type() == HiddenAutomationTrack )
{
setMuted( FALSE );
}
}