refresh text-mode raw tag editor also when no tags are changed

e.g. when duplicate tag keys are entered or the text input contained empty or invalid lines that need to be cleaned up
This commit is contained in:
Martin Raifer
2025-01-31 16:57:16 +01:00
parent bb57d34413
commit 51ee85f6f5

View File

@@ -372,7 +372,6 @@ export function uiSectionRawTagEditor(id, context) {
});
var tagDiff = utilTagDiff(_tags, newTags);
if (!tagDiff.length) return;
_pendingChange = _pendingChange || {};
@@ -391,6 +390,7 @@ export function uiSectionRawTagEditor(id, context) {
if (Object.keys(_pendingChange).length === 0) {
_pendingChange = null;
section.reRender();
return;
}