Skip to content

Commit

Permalink
Adding an instrument adds it before the first component
Browse files Browse the repository at this point in the history
  • Loading branch information
blablack committed Oct 9, 2014
1 parent abf1ea3 commit 1bc088f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/src/Mixer/Mixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ void Mixer::updateMixer()
if ( m_pMixerLine[ nInstr ] == NULL ) {
// the mixerline doesn't exists..I'll create a new one!
m_pMixerLine[ nInstr ] = createMixerLine( nInstr );
m_pFaderHBox->addWidget( m_pMixerLine[ nInstr ] );
m_pFaderHBox->insertWidget( nInstr, m_pMixerLine[ nInstr ] );

int newWidth = MIXER_STRIP_WIDTH * ( nInstruments + nCompo );
if ( m_pFaderPanel->width() != newWidth ) {
Expand Down

0 comments on commit 1bc088f

Please sign in to comment.