Additional change to r1155.

This commit is contained in:
Birunthan Mohanathas 2012-02-03 10:37:26 +00:00
parent c0ecf75e94
commit e7632b5782

View File

@ -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;
}
}