Skip to content

Commit

Permalink
refresh text-mode raw tag editor also when no tags are changed
Browse files Browse the repository at this point in the history
e.g. when duplicate tag keys are entered or the text input contained empty or invalid lines that need to be cleaned up
  • Loading branch information
tyrasd committed Jan 31, 2025
1 parent bb57d34 commit 51ee85f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ui/sections/raw_tag_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ export function uiSectionRawTagEditor(id, context) {
});

var tagDiff = utilTagDiff(_tags, newTags);
if (!tagDiff.length) return;

_pendingChange = _pendingChange || {};

Expand All @@ -391,6 +390,7 @@ export function uiSectionRawTagEditor(id, context) {

if (Object.keys(_pendingChange).length === 0) {
_pendingChange = null;
section.reRender();
return;
}

Expand Down

0 comments on commit 51ee85f

Please sign in to comment.