LogManager: remove per-container listeners

This commit is contained in:
Michael Maltese
2017-07-07 15:23:47 -07:00
parent 546fa628fb
commit 18da6dee8e
4 changed files with 21 additions and 78 deletions

View File

@ -133,11 +133,7 @@ void CLogWindow::RemoveAllListeners()
return;
m_has_listeners = false;
for (int i = 0; i < LogTypes::NUMBER_OF_LOGS; ++i)
{
m_LogManager->RemoveListener(static_cast<LogTypes::LOG_TYPE>(i),
LogListener::LOG_WINDOW_LISTENER);
}
m_LogManager->EnableListener(LogListener::LOG_WINDOW_LISTENER, false);
}
void CLogWindow::SaveSettings()