Add default behaviour to switch

This commit is contained in:
Daniel Winzen
2015-01-06 18:50:51 +01:00
parent 7440794597
commit 01fac0d342
3 changed files with 8 additions and 0 deletions

View File

@@ -63,6 +63,8 @@ AutomationPattern::AutomationPattern( AutomationTrack * _auto_track ) :
break;
case TrackContainer::SongContainer:
// move down
default:
setAutoResize( false );
break;
}
@@ -92,6 +94,8 @@ AutomationPattern::AutomationPattern( const AutomationPattern & _pat_to_copy ) :
break;
case TrackContainer::SongContainer:
// move down
default:
setAutoResize( false );
break;
}

View File

@@ -91,6 +91,8 @@ Pattern::Pattern( const Pattern& other ) :
break;
case TrackContainer::SongContainer:
// move down
default:
setAutoResize( false );
break;
}

View File

@@ -69,6 +69,8 @@ SampleTCO::SampleTCO( Track * _track ) :
break;
case TrackContainer::SongContainer:
// move down
default:
setAutoResize( false );
break;
}