mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed the issue that all grouping functions for Config are broken since r473.
This commit is contained in:
parent
b3507f6f8e
commit
dc7ccdd7ed
@ -1469,6 +1469,8 @@ void CMeterWindow::ReadConfig()
|
|||||||
m_AlphaValue = 255;
|
m_AlphaValue = 255;
|
||||||
m_FadeDuration = 250;
|
m_FadeDuration = 250;
|
||||||
|
|
||||||
|
std::wstring group = L"";
|
||||||
|
|
||||||
CConfigParser parser;
|
CConfigParser parser;
|
||||||
parser.Initialize(iniFile.c_str(), m_Rainmeter);
|
parser.Initialize(iniFile.c_str(), m_Rainmeter);
|
||||||
|
|
||||||
@ -1548,6 +1550,9 @@ void CMeterWindow::ReadConfig()
|
|||||||
|
|
||||||
m_FadeDuration = parser.ReadInt(section, L"FadeDuration", m_FadeDuration);
|
m_FadeDuration = parser.ReadInt(section, L"FadeDuration", m_FadeDuration);
|
||||||
|
|
||||||
|
group = parser.ReadString(section, L"Group", group.c_str());
|
||||||
|
InitializeGroup(group);
|
||||||
|
|
||||||
// On the second loop override settings from the skin's section
|
// On the second loop override settings from the skin's section
|
||||||
section = m_SkinName.c_str();
|
section = m_SkinName.c_str();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user