Commit 45ebbbd5 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

EffectStack: Update the displayed effect when removing an effect from the stack.

parent ffe6d336
......@@ -97,6 +97,10 @@ void
EffectStack::remove()
{
m_model->removeRow( m_ui->list->currentIndex().row() );
if ( m_ui->list->currentIndex().isValid() == true )
selectedChanged( m_ui->list->currentIndex() );
else
m_stackedLayout->setCurrentIndex( 0 );
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment