mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 06:35:39 +00:00
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
@ -223,14 +223,15 @@ void CLogWindow::UpdateChecks()
|
|||||||
ini.Load("Debugger.ini");
|
ini.Load("Debugger.ini");
|
||||||
|
|
||||||
for (int i = 0; i < LogTypes::NUMBER_OF_LOGS; i++)
|
for (int i = 0; i < LogTypes::NUMBER_OF_LOGS; i++)
|
||||||
|
{
|
||||||
|
for (int j = 0; j <= LogManager::VERBOSITY_LEVELS; j++)
|
||||||
{
|
{
|
||||||
bool Enabled = false;
|
bool Enabled = false;
|
||||||
ini.Get("LogManager", LogManager::m_Log[i + v*100]->m_szShortName, &Enabled, false);
|
ini.Get("LogManager", LogManager::m_Log[i + j*100]->m_szShortName, &Enabled, false);
|
||||||
|
LogManager::m_Log[i + j*100]->m_bEnable = Enabled;
|
||||||
m_checks->Check(i, Enabled);
|
LogManager::m_Log[i + j*100]->m_bShowInLog = Enabled;
|
||||||
|
if(j == v) m_checks->Check(i, Enabled);
|
||||||
LogManager::m_Log[i + v*100]->m_bEnable = Enabled;
|
}
|
||||||
LogManager::m_Log[i + v*100]->m_bShowInLog = Enabled;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_bCheckDirty = true;
|
m_bCheckDirty = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user