mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed errors on Refresh All from context menu or Manage.
This commit is contained in:
parent
4039940ec1
commit
74c3c2cf5c
@ -449,8 +449,8 @@ private:
|
|||||||
std::list<CMeasure*> m_Measures;
|
std::list<CMeasure*> m_Measures;
|
||||||
std::list<CMeter*> m_Meters;
|
std::list<CMeter*> m_Meters;
|
||||||
|
|
||||||
const std::wstring& m_SkinName;
|
const std::wstring m_SkinName;
|
||||||
const std::wstring& m_SkinIniFile;
|
const std::wstring m_SkinIniFile;
|
||||||
|
|
||||||
int m_UpdateCounter;
|
int m_UpdateCounter;
|
||||||
UINT m_MouseMoveCounter;
|
UINT m_MouseMoveCounter;
|
||||||
|
@ -1253,7 +1253,7 @@ void CRainmeter::ActivateConfig(int configIndex, int iniIndex)
|
|||||||
std::map<std::wstring, CMeterWindow*>::const_iterator iter = m_MeterWindows.find(skinConfig);
|
std::map<std::wstring, CMeterWindow*>::const_iterator iter = m_MeterWindows.find(skinConfig);
|
||||||
if (iter != m_MeterWindows.end())
|
if (iter != m_MeterWindows.end())
|
||||||
{
|
{
|
||||||
if (&((*iter).second)->GetSkinIniFile() == &skinIniFile)
|
if (((*iter).second)->GetSkinIniFile() == skinIniFile)
|
||||||
{
|
{
|
||||||
LogWithArgs(LOG_WARNING, L"!ActivateConfig: \"%s\" already active", skinConfig.c_str());
|
LogWithArgs(LOG_WARNING, L"!ActivateConfig: \"%s\" already active", skinConfig.c_str());
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user