Skip to content

Commit

Permalink
Revert changes to default Pattern as requested.
Browse files Browse the repository at this point in the history
  • Loading branch information
thmueller64 authored and Your Name committed Aug 3, 2020
1 parent d4de43d commit cef300d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tracks/Pattern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,13 @@ QPixmap * PatternView::s_stepBtnOffLight = NULL;
Pattern::Pattern( InstrumentTrack * _instrument_track ) :
TrackContentObject( _instrument_track ),
m_instrumentTrack( _instrument_track ),
m_patternType( MelodyPattern ),
m_patternType( BeatPattern ),
m_steps( MidiTime::stepsPerBar() )
{
setName( _instrument_track->name() );
if( _instrument_track->trackContainer()
== Engine::getBBTrackContainer() )
{
m_patternType = Pattern::BeatPattern;
resizeToFirstTrack();
}
init();
Expand Down

0 comments on commit cef300d

Please sign in to comment.