Fix switching off for PIR usermod.
This commit is contained in:
parent
66406d86c1
commit
98be19b29f
@ -136,7 +136,7 @@ private:
|
||||
}
|
||||
} else {
|
||||
if (m_offPreset) {
|
||||
if (currentPreset==m_onPreset || currentPlaylist==m_onPreset) applyPreset(m_offPreset, NotifyUpdateMode);
|
||||
applyPreset(m_offPreset, NotifyUpdateMode);
|
||||
return;
|
||||
} else if (prevPlaylist) {
|
||||
if (currentPreset==m_onPreset || currentPlaylist==m_onPreset) applyPreset(prevPlaylist, NotifyUpdateMode);
|
||||
|
Loading…
Reference in New Issue
Block a user