for (int aLevelIndex = myAlertLevels.Size(); aLevelIndex >= 1; aLevelIndex--)
{
Message_Level* aLevel = myAlertLevels.Value (aLevelIndex);
- if (myAlertLevels.Size() == 1) // the last level, the root item should be stopped
- {
- Message_AttributeMeter::StopAlert (aLevel->RootAlert());
- }
+ Message_AttributeMeter::StopAlert (aLevel->RootAlert());
myAlertLevels.Remove (aLevelIndex);
if (aLevel == theLevel)