FxMixerView: fix crash when loading project while selected channel != 0

Fixes #782
This commit is contained in:
Vesa
2014-05-30 08:19:54 +03:00
parent 6dfd6de8d2
commit 51194453f1

View File

@@ -199,6 +199,9 @@ void FxMixerView::refreshDisplay()
chLayout->addWidget(m_fxChannelViews[i]->m_fxLine);
}
// set selected fx line to 0
setCurrentFxLine( 0 );
// update all fx lines
for( int i = 0; i < m_fxChannelViews.size(); ++i )
{