mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Additional change to r1155.
This commit is contained in:
parent
c0ecf75e94
commit
e7632b5782
@ -1163,8 +1163,8 @@ void CRainmeter::DeleteMeterWindow(CMeterWindow* meterWindow, bool force)
|
||||
else if ((*iter).second == meterWindow)
|
||||
{
|
||||
m_MeterWindows.erase(iter);
|
||||
delete meterWindow;
|
||||
return;
|
||||
force = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1174,6 +1174,7 @@ void CRainmeter::DeleteMeterWindow(CMeterWindow* meterWindow, bool force)
|
||||
}
|
||||
else if (force)
|
||||
{
|
||||
CDialogManage::UpdateSkins(meterWindow, true);
|
||||
delete meterWindow;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user