fix evaluation for timer events
This commit is contained in:
parent
1d832fad84
commit
5691e3ed9b
@ -95,7 +95,7 @@ bool Rule::statesActive() const
|
||||
|
||||
bool Rule::timeActive() const
|
||||
{
|
||||
if (m_timeDescriptor.isEmpty())
|
||||
if (m_timeDescriptor.calendarItems().isEmpty())
|
||||
return true;
|
||||
|
||||
return m_timeActive;
|
||||
|
||||
Reference in New Issue
Block a user