Fix label updates

This commit is contained in:
Rob Garrison 2019-01-01 21:01:46 -06:00
parent 403049692c
commit b5387deb9a

View File

@ -373,6 +373,7 @@ function handleUpdate(style, {reason, method} = {}) {
$$('.entry-state-toggle', oldEntry).forEach(el => (el.checked = style.enabled)); $$('.entry-state-toggle', oldEntry).forEach(el => (el.checked = style.enabled));
oldEntry.styleMeta = newStyleMeta; oldEntry.styleMeta = newStyleMeta;
entry = oldEntry; entry = oldEntry;
UI.addLabels(entry);
oldEntry = null; oldEntry = null;
} }
} }