Bigfix to bugfix in log manager. Enabled or disabled should update for all levels, the checkboxes should only be updated once.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@935 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
415366634f
commit
18f0bff153
|
@ -224,13 +224,14 @@ void CLogWindow::UpdateChecks()
|
|||
|
||||
for (int i = 0; i < LogTypes::NUMBER_OF_LOGS; i++)
|
||||
{
|
||||
bool Enabled = false;
|
||||
ini.Get("LogManager", LogManager::m_Log[i + v*100]->m_szShortName, &Enabled, false);
|
||||
|
||||
m_checks->Check(i, Enabled);
|
||||
|
||||
LogManager::m_Log[i + v*100]->m_bEnable = Enabled;
|
||||
LogManager::m_Log[i + v*100]->m_bShowInLog = Enabled;
|
||||
for (int j = 0; j <= LogManager::VERBOSITY_LEVELS; j++)
|
||||
{
|
||||
bool Enabled = false;
|
||||
ini.Get("LogManager", LogManager::m_Log[i + j*100]->m_szShortName, &Enabled, false);
|
||||
LogManager::m_Log[i + j*100]->m_bEnable = Enabled;
|
||||
LogManager::m_Log[i + j*100]->m_bShowInLog = Enabled;
|
||||
if(j == v) m_checks->Check(i, Enabled);
|
||||
}
|
||||
}
|
||||
|
||||
m_bCheckDirty = true;
|
||||
|
|
Loading…
Reference in New Issue