mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Image and button meters don't ignore errors anymore if they are bound to a non-existing measure.
This commit is contained in:
@ -257,13 +257,10 @@ bool CMeterImage::Draw()
|
||||
*/
|
||||
void CMeterImage::BindMeasure(std::list<CMeasure*>& measures)
|
||||
{
|
||||
try
|
||||
// It's ok not to bind image meter to anything
|
||||
if (!m_MeasureName.empty())
|
||||
{
|
||||
CMeter::BindMeasure(measures);
|
||||
}
|
||||
catch(CError)
|
||||
{
|
||||
// Do nothing (ignore errors)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user