diff --git a/index.html b/index.html
index f82e676..6ff0cc9 100644
--- a/index.html
+++ b/index.html
@@ -1324,7 +1324,7 @@ function openTagEditor() {
if (idx < 0) { showStatus('No track selected.', 'error'); return; }
const t = tracks[idx];
tagEditorOverlay.dataset.idx = idx;
- tagFilename.value = t.filename || '';
+ tagFilename.value = t.path || '';
tagName.value = t.name || '';
tagArtist.value = t.artist || '';
tagAlbum.value = t.album || '';