//----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void ControlPanel::RedoExpression( int index ) { if ( index == -1 ) return; CExpClass *active = expressions->GetActiveClass(); if ( !active ) return; CExpression *exp = active->GetExpression( index ); if ( exp ) { exp->Redo(); // Show the updated data active->SelectExpression( index ); } }